From e7d75e3795257dc06298ceba51562c243bbdd4a2 Mon Sep 17 00:00:00 2001 From: Calclavia Date: Sun, 2 Mar 2014 12:24:26 +0800 Subject: [PATCH] Resolved #343 - Different material water turbines now have different stats --- .../mechanical/energy/turbine/TileWaterTurbine.java | 2 +- src/main/java/resonantinduction/core/fluid/TileFluidNode.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mechanical/src/main/java/resonantinduction/mechanical/energy/turbine/TileWaterTurbine.java b/mechanical/src/main/java/resonantinduction/mechanical/energy/turbine/TileWaterTurbine.java index 79d93e108..558855813 100644 --- a/mechanical/src/main/java/resonantinduction/mechanical/energy/turbine/TileWaterTurbine.java +++ b/mechanical/src/main/java/resonantinduction/mechanical/energy/turbine/TileWaterTurbine.java @@ -105,7 +105,7 @@ public class TileWaterTurbine extends TileMechanicalTurbine */ private long getWaterPower() { - return maxPower / 2; + return maxPower / (2 - tier + 1); } @Override diff --git a/src/main/java/resonantinduction/core/fluid/TileFluidNode.java b/src/main/java/resonantinduction/core/fluid/TileFluidNode.java index 86b8646e1..cf9397068 100644 --- a/src/main/java/resonantinduction/core/fluid/TileFluidNode.java +++ b/src/main/java/resonantinduction/core/fluid/TileFluidNode.java @@ -94,7 +94,7 @@ public abstract class TileFluidNode extends TileAdvanced implements IPacketRecei @Override public Packet getDescriptionPacket() { - return ResonantInduction.PACKET_TILE.getPacketWithID(PACKET_DESCRIPTION, this, this.colorID, this.renderSides, this.getInternalTank().getCapacity(), this.getInternalTank().writeToNBT(new NBTTagCompound())); + return ResonantInduction.PACKET_TILE.getPacketWithID(PACKET_DESCRIPTION, this, this.colorID, this.renderSides, getInternalTank().getCapacity(), getInternalTank().writeToNBT(new NBTTagCompound())); } public void sendRenderUpdate()