From 6672c75d1a50784273d77f9cd78a0bcb8c1adf36 Mon Sep 17 00:00:00 2001 From: Emerson Rosen-Jones Date: Fri, 26 Dec 2025 14:06:55 -0500 Subject: [PATCH] fix: removes syntax error --- cargo-elevator.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cargo-elevator.lua b/cargo-elevator.lua index 66749bb..6aadb4b 100644 --- a/cargo-elevator.lua +++ b/cargo-elevator.lua @@ -98,7 +98,7 @@ local PKG_QUEUE = { end, check_cargo = function (self, inv, floors) for slot, item in pairs(peripheral.call(inv, "list")) do - local item_detail = peripheral.call(src, "getItemDetail", slot) + local item_detail = peripheral.call(inv, "getItemDetail", slot) for i, floor in ipairs(floors) do if item_detail.package ~= nil and floor.match(item_detail.package.getAddress()) then