Little polish to AESU GUI

This commit is contained in:
drcrazy 2017-10-11 01:59:25 +03:00
parent e81fc202ad
commit 8692bef2bb
2 changed files with 3 additions and 1 deletions

View file

@ -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);
}

View file

@ -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");