mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 23:33:44 +01:00
issue #44 fixed: Set Idle state instead of fault when there is no liquid
This commit is contained in:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user