From 8692bef2bbccbdf4521a4c03e5d94e0c4e41e5c3 Mon Sep 17 00:00:00 2001 From: drcrazy Date: Wed, 11 Oct 2017 01:59:25 +0300 Subject: [PATCH] Little polish to AESU GUI --- src/main/java/techreborn/client/gui/GuiAESU.java | 2 +- src/main/java/techreborn/tiles/storage/TileAdjustableSU.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/techreborn/client/gui/GuiAESU.java b/src/main/java/techreborn/client/gui/GuiAESU.java index 3bec50e2f..2ec8c406e 100644 --- a/src/main/java/techreborn/client/gui/GuiAESU.java +++ b/src/main/java/techreborn/client/gui/GuiAESU.java @@ -52,7 +52,7 @@ public class GuiAESU extends GuiBase { this.drawSlot(62, 45, layer); this.drawSlot(98, 45, layer); this.drawArmourSlots(8, 18, layer); - this.builder.drawEnergyOutput(this, 169, 61, (int) this.tile.getBaseMaxOutput(), layer); + this.builder.drawEnergyOutput(this, 171, 61, (int) this.tile.getBaseMaxOutput(), layer); this.builder.drawUpDownButtons(this, 121, 79, layer); } diff --git a/src/main/java/techreborn/tiles/storage/TileAdjustableSU.java b/src/main/java/techreborn/tiles/storage/TileAdjustableSU.java index 01387ab92..02060dd0d 100644 --- a/src/main/java/techreborn/tiles/storage/TileAdjustableSU.java +++ b/src/main/java/techreborn/tiles/storage/TileAdjustableSU.java @@ -93,6 +93,7 @@ public class TileAdjustableSU extends TileEnergyStorage implements IContainerPro return dropStack; } + @Override public NBTTagCompound writeToNBT(NBTTagCompound tagCompound) { super.writeToNBT(tagCompound); tagCompound.setInteger("output", OUTPUT); @@ -100,6 +101,7 @@ public class TileAdjustableSU extends TileEnergyStorage implements IContainerPro return tagCompound; } + @Override public void readFromNBT(NBTTagCompound nbttagcompound) { super.readFromNBT(nbttagcompound); this.OUTPUT = nbttagcompound.getInteger("output");