Skip to content

Commit e62cfaa

Browse files
committed
whitespace fix
1 parent 48099eb commit e62cfaa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mods/bones/init.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,20 @@ end
8686

8787
-- slot reordering to make sure the first rows of the bone are always populated
8888
local function bones_inv_reorder(meta)
89-
local next_empty=1 -- there are no empty slots inside the bones before this
89+
local next_empty = 1 -- there are no empty slots inside the bones before this
9090
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)
91+
local inv = meta:get_inventory()
92+
next_empty = find_next_empty(inv, "main", next_empty)
9393
if next_empty < 0 then
9494
return
9595
end
96-
next_populated=find_next_populated(inv,"main",next_empty+1)
96+
next_populated = find_next_populated(inv, "main", next_empty + 1)
9797
while next_populated > 0 do
9898
local stack = inv:get_stack("main", next_populated)
9999
inv:set_stack("main", next_populated, ItemStack())
100100
inv:set_stack("main", next_empty, stack)
101-
next_empty=find_next_empty(inv,"main",next_empty+1)
102-
next_populated=find_next_populated(inv,"main",next_populated+1)
101+
next_empty = find_next_empty(inv, "main", next_empty + 1)
102+
next_populated = find_next_populated(inv, "main", next_populated + 1)
103103
end
104104
end
105105

0 commit comments

Comments
 (0)