diff --git a/compacting-storage.lua b/compacting-storage.lua index 276da79..1bc49a6 100644 --- a/compacting-storage.lua +++ b/compacting-storage.lua @@ -161,8 +161,8 @@ function print_counts (items) end end +local main_inv = peripheral.wrap(MAIN_TICKER) while true do - local main_inv = peripheral.wrap(MAIN_TICKER) -- 1. Sum items in inventory and organize by item type local items = sum_items(main_inv.stock) -- print_counts(items)