mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-24 22:04:34 +00:00
Fix #428 Electrical Engine shows "no fuel" when inactive
This commit is contained in:
1 parent
d436657556
commit
e00d96ff08
1 file changed
+1
-1
@@ -184,7 +184,7 @@ public class EngineTin extends Engine implements ISocketable, IInventory {
|
||||
if (!delayUpdateTimer.delayPassed(worldObj, 80))
|
||||
return;
|
||||
|
||||
if (currentOutput <= 0)
|
||||
if (!ic2EnergySink.canUseEnergy(euConfig.euForCycle))
|
||||
setErrorState(EnumErrorCode.NOFUEL);
|
||||
else
|
||||
setErrorState(EnumErrorCode.OK);
|
||||
|
||||
Reference in new issue
Block a user