fixed syntax
This commit is contained in:
parent
ef21e47f7d
commit
a46a7d1126
@ -64,7 +64,7 @@ function lever_input()
|
||||
local lever_state = redstone.getInput("top")
|
||||
while true do
|
||||
local new_lever_state = redstone.getInput("top")
|
||||
if new_lever_state != lever_state then
|
||||
if new_lever_state ~= lever_state then
|
||||
lever_state = new_lever_state
|
||||
local output_state = not redstone.getInput("back")
|
||||
redstone.setOutput("back", output_state)
|
||||
|
Loading…
x
Reference in New Issue
Block a user