We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d577a5 commit a077f7fCopy full SHA for a077f7f
mods/bones/init.lua
@@ -123,8 +123,8 @@ end
123
124
-- slot reordering to make sure the first rows of the bone are always populated
125
local function bones_inv_reorder(meta)
126
- local next_empty=1 -- there are no empty slots inside the bones before this
127
- local next_populated=1 -- there are no populated slots preceded by unpopulated slots before this
+ local next_empty=1 -- there are no empty slots inside the bones before this
+ local next_populated -- there are no populated slots preceded by unpopulated slots before this
128
local inv=meta:get_inventory()
129
next_empty=find_next_empty(inv,"main",next_empty)
130
if next_empty < 0 then
0 commit comments