From 449ad9936bde12b39309f90aadf283798494ae6b Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Sat, 6 Mar 2021 11:28:50 +0100 Subject: [PATCH] Pusher: Change inventory pull start pos from 2 to 1 --- basis/command.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/command.lua b/basis/command.lua index 3f54027..d06b02f 100644 --- a/basis/command.lua +++ b/basis/command.lua @@ -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)