From d02ac7a4f83be5622e7e49bb2d566374527a7820 Mon Sep 17 00:00:00 2001 From: Olav Bakke Svendsen Date: Wed, 11 Oct 2023 23:30:22 +0200 Subject: [PATCH] Yet another whoops --- steam/temporary-coal-feeder.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steam/temporary-coal-feeder.lua b/steam/temporary-coal-feeder.lua index baa78ff..6f33ff1 100644 --- a/steam/temporary-coal-feeder.lua +++ b/steam/temporary-coal-feeder.lua @@ -30,7 +30,7 @@ end local feed = function(stock) local stock = stock for deployer_addr,deployer in pairs(deployers) do - if refill_when(d.getItemDetail(1).count) then + if refill_when(deployer.getItemDetail(1).count) then local f = function() return false, "No coal available" end for barrel_addr,count in pairs(stock) do if count >= refill_amt then -- 2.30.2