Fix engineTin constantly switching error states

This commit is contained in:
mezz committed 2014-11-05 22:51:10 -08:00
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);