The controller shouldn't display the base usage when not working.
This commit is contained in:
@@ -419,7 +419,7 @@ public class TileController extends TileBase implements IEnergyReceiver, INetwor
|
|||||||
public void toBytes(ByteBuf buf)
|
public void toBytes(ByteBuf buf)
|
||||||
{
|
{
|
||||||
buf.writeInt(energy.getEnergyStored());
|
buf.writeInt(energy.getEnergyStored());
|
||||||
buf.writeInt(energyUsage);
|
buf.writeInt(redstoneMode.isEnabled(worldObj, pos) ? energyUsage : 0);
|
||||||
|
|
||||||
buf.writeInt(redstoneMode.id);
|
buf.writeInt(redstoneMode.id);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user