diff --git a/src/main/java/cr0s/warpdrive/block/energy/TileEntityCapacitor.java b/src/main/java/cr0s/warpdrive/block/energy/TileEntityCapacitor.java index 4a175dc5..291bd548 100644 --- a/src/main/java/cr0s/warpdrive/block/energy/TileEntityCapacitor.java +++ b/src/main/java/cr0s/warpdrive/block/energy/TileEntityCapacitor.java @@ -162,9 +162,15 @@ public class TileEntityCapacitor extends TileEntityAbstractEnergy { @Override public String toString() { - return String.format("%s %s %8d", - getClass().getSimpleName(), - Commons.format(world, pos), - energy_getEnergyStored()); + if (enumTier == null) { + return String.format("%s %s", + getClass().getSimpleName(), + Commons.format(world, pos)); + } else { + return String.format("%s %s %8d", + getClass().getSimpleName(), + Commons.format(world, pos), + energy_getEnergyStored()); + } } } \ No newline at end of file