Pusher: Change inventory pull start pos from 2 to 1
This commit is contained in:
parent
339709d74f
commit
449ad9936b
@ -436,7 +436,7 @@ function techage.get_items(pos, inv, listname, num)
|
||||
end
|
||||
local size = inv:get_size(listname)
|
||||
local mem = techage.get_mem(pos)
|
||||
mem.ta_startpos = mem.ta_startpos or 1
|
||||
mem.ta_startpos = mem.ta_startpos or 0
|
||||
for idx = mem.ta_startpos, mem.ta_startpos+size do
|
||||
idx = (idx % size) + 1
|
||||
local items = inv:get_stack(listname, idx)
|
||||
|
Loading…
Reference in New Issue
Block a user