Little polish to AESU GUI
This commit is contained in:
parent
e81fc202ad
commit
8692bef2bb
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue