mirror of
https://github.com/joe7575/techpack.git
synced 2024-12-25 07:02:31 +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))
|
||||
State:keep_running(pos, meta, COUNTDOWN_TICKS)
|
||||
else
|
||||
State:idle(pos, meta)
|
||||
State:blocked(pos, meta)
|
||||
end
|
||||
else
|
||||
State:fault(pos, meta)
|
||||
State:idle(pos, meta)
|
||||
end
|
||||
State:idle(pos, meta)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user