Skip to content

Commit 4250ba1

Browse files
committed
whitespace fix
1 parent a077f7f commit 4250ba1

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
@@ -123,20 +123,20 @@ end
123123

124124
-- slot reordering to make sure the first rows of the bone are always populated
125125
local function bones_inv_reorder(meta)
126-
local next_empty=1 -- there are no empty slots inside the bones before this
126+
local next_empty = 1 -- there are no empty slots inside the bones before this
127127
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)
128+
local inv = meta:get_inventory()
129+
next_empty = find_next_empty(inv, "main", next_empty)
130130
if next_empty < 0 then
131131
return
132132
end
133-
next_populated=find_next_populated(inv,"main",next_empty+1)
133+
next_populated = find_next_populated(inv, "main", next_empty + 1)
134134
while next_populated > 0 do
135135
local stack = inv:get_stack("main", next_populated)
136136
inv:set_stack("main", next_populated, ItemStack())
137137
inv:set_stack("main", next_empty, stack)
138-
next_empty=find_next_empty(inv,"main",next_empty+1)
139-
next_populated=find_next_populated(inv,"main",next_populated+1)
138+
next_empty = find_next_empty(inv, "main", next_empty + 1)
139+
next_populated = find_next_populated(inv, "main", next_populated + 1)
140140
end
141141
end
142142

0 commit comments

Comments
 (0)