fix: corrects floor detection part 2
This commit is contained in:
parent
dac0874232
commit
3ce4f9579d
1 changed files with 3 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ local FLOORS = {
|
||||||
end,
|
end,
|
||||||
detect = function ()
|
detect = function ()
|
||||||
local relay = "redstone_relay_21"
|
local relay = "redstone_relay_21"
|
||||||
peripheral.call(relay, "getInput", "top")
|
return peripheral.call(relay, "getInput", "top")
|
||||||
end,
|
end,
|
||||||
call = function ()
|
call = function ()
|
||||||
local relay = "redstone_relay_21"
|
local relay = "redstone_relay_21"
|
||||||
|
|
@ -44,7 +44,7 @@ local FLOORS = {
|
||||||
end,
|
end,
|
||||||
detect = function ()
|
detect = function ()
|
||||||
local relay = "redstone_relay_22"
|
local relay = "redstone_relay_22"
|
||||||
peripheral.call(relay, "getInput", "top")
|
return peripheral.call(relay, "getInput", "top")
|
||||||
end,
|
end,
|
||||||
call = function ()
|
call = function ()
|
||||||
local relay = "redstone_relay_22"
|
local relay = "redstone_relay_22"
|
||||||
|
|
@ -62,7 +62,7 @@ local FLOORS = {
|
||||||
end,
|
end,
|
||||||
detect = function ()
|
detect = function ()
|
||||||
local relay = "redstone_relay_23"
|
local relay = "redstone_relay_23"
|
||||||
peripheral.call(relay, "getInput", "top")
|
return peripheral.call(relay, "getInput", "top")
|
||||||
end,
|
end,
|
||||||
call = function ()
|
call = function ()
|
||||||
local relay = "redstone_relay_23"
|
local relay = "redstone_relay_23"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue