From ddcf4fda1cbae122a7611e2df9422c7004a2ebd5 Mon Sep 17 00:00:00 2001 From: Olav Bakke Svendsen Date: Wed, 11 Oct 2023 23:25:30 +0200 Subject: [PATCH] Note to self, it's 'elseif', not 'else if' in lua --- 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 ba1b7bf..f1a76f7 100644 --- a/steam/temporary-coal-feeder.lua +++ b/steam/temporary-coal-feeder.lua @@ -14,7 +14,7 @@ for _,p in pairs(peripheral.getNames()) do local barrel = string.match(p, "^sophisticatedstorage\:limited_barrel_%d+$") if deployer then deployers[deployer] = peripheral.wrap(deployer) - else if barrel then + elseif barrel then barrels[barrel] = peripheral.wrap(barrel) end end -- 2.30.2