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

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