summaryrefslogtreecommitdiff
path: root/ihl/tunneling_shield/HydrotransportPulpRegeneratorTileEntity.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-01-27 11:32:28 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-01-27 11:32:28 +0300
commit2db8e30b1d2151fdde5d08a6c06aef55f0c397d2 (patch)
treee8cd0022f3a30a5c952092e0ea4c7ffdafcdf7bb /ihl/tunneling_shield/HydrotransportPulpRegeneratorTileEntity.java
parentffe23313fb7421b0a1849b420baf708999023f7b (diff)
License, readme and stuff
Diffstat (limited to 'ihl/tunneling_shield/HydrotransportPulpRegeneratorTileEntity.java')
-rw-r--r--ihl/tunneling_shield/HydrotransportPulpRegeneratorTileEntity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ihl/tunneling_shield/HydrotransportPulpRegeneratorTileEntity.java b/ihl/tunneling_shield/HydrotransportPulpRegeneratorTileEntity.java
index e1d2b39..dc5e114 100644
--- a/ihl/tunneling_shield/HydrotransportPulpRegeneratorTileEntity.java
+++ b/ihl/tunneling_shield/HydrotransportPulpRegeneratorTileEntity.java
@@ -40,7 +40,6 @@ public class HydrotransportPulpRegeneratorTileEntity extends BasicElectricMotorT
this.drainInputSlot = new InvSlotConsumableLiquidIHL(this, "drainInput", -1, InvSlot.Access.I, 1, InvSlot.InvSide.TOP, InvSlotConsumableLiquid.OpType.Drain);
this.emptyFluidItemsSlot = new InvSlotOutput(this, "fluidCellsOutput", 2, 1);
this.outputSlot = new InvSlotOutput(this, "output", 3, 12);
- this.isGuiScreenOpened=true;
this.operationLength=26;
}
@@ -211,9 +210,10 @@ public class HydrotransportPulpRegeneratorTileEntity extends BasicElectricMotorT
private boolean isMachineOperational()
{
- return this.engine.correctContent() && this.energy>=this.energyConsume/this.engine.getEfficiency();
+ return this.energy>=this.energyConsume;
}
+ @SuppressWarnings({ "rawtypes", "unchecked" })
@Override
public List[] getInput()
{