fix: corrects floor detection part 2

This commit is contained in:
Emerson Rosen-Jones 2025-12-26 14:06:48 -05:00
parent dac0874232
commit 3ce4f9579d

View file

@ -26,7 +26,7 @@ local FLOORS = {
end,
detect = function ()
local relay = "redstone_relay_21"
peripheral.call(relay, "getInput", "top")
return peripheral.call(relay, "getInput", "top")
end,
call = function ()
local relay = "redstone_relay_21"
@ -44,7 +44,7 @@ local FLOORS = {
end,
detect = function ()
local relay = "redstone_relay_22"
peripheral.call(relay, "getInput", "top")
return peripheral.call(relay, "getInput", "top")
end,
call = function ()
local relay = "redstone_relay_22"
@ -62,7 +62,7 @@ local FLOORS = {
end,
detect = function ()
local relay = "redstone_relay_23"
peripheral.call(relay, "getInput", "top")
return peripheral.call(relay, "getInput", "top")
end,
call = function ()
local relay = "redstone_relay_23"