mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 19:29:17 +00:00
Fix engineTin constantly switching error states
This commit is contained in:
1 parent
cb805e3a22
commit
06907ae3d4
1 file changed
+1
-1
@@ -169,7 +169,7 @@ public class EngineTin extends Engine implements ISocketable, IInventory {
|
||||
if (!delayUpdateTimer.delayPassed(worldObj, 80))
|
||||
return;
|
||||
|
||||
if (currentOutput <= 0 && getErrorState() == EnumErrorCode.OK)
|
||||
if (currentOutput <= 0)
|
||||
setErrorState(EnumErrorCode.NOFUEL);
|
||||
else
|
||||
setErrorState(EnumErrorCode.OK);
|
||||
|
||||
Reference in new issue
Block a user