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 5879783 commit 48099ebCopy full SHA for 48099eb
mods/bones/init.lua
@@ -86,8 +86,8 @@ end
86
87
-- slot reordering to make sure the first rows of the bone are always populated
88
local function bones_inv_reorder(meta)
89
- local next_empty=1 -- there are no empty slots inside the bones before this
90
- 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
91
local inv=meta:get_inventory()
92
next_empty=find_next_empty(inv,"main",next_empty)
93
if next_empty < 0 then
0 commit comments