issue #44 fixed: Set Idle state instead of fault when there is no liquid

This commit is contained in:
Joachim Stolberg 2020-03-03 22:25:34 +01:00
parent 8e0852f2fa
commit 289514da17

@ -80,10 +80,10 @@ local function sample_liquid(pos, meta)
inv:add_item("dst", ItemStack(giving_back)) inv:add_item("dst", ItemStack(giving_back))
State:keep_running(pos, meta, COUNTDOWN_TICKS) State:keep_running(pos, meta, COUNTDOWN_TICKS)
else else
State:idle(pos, meta) State:blocked(pos, meta)
end end
else else
State:fault(pos, meta) State:idle(pos, meta)
end end
State:idle(pos, meta) State:idle(pos, meta)
end end