This commit is contained in:
Modmuss50 2015-12-16 11:07:34 +00:00
parent 23255bdfff
commit 5324016199

View file

@ -120,16 +120,16 @@ public class TileAesu extends TilePowerAcceptor implements IWrenchable {
return dropStack; return dropStack;
} }
public void writeToNBTWithoutCoords(NBTTagCompound tagCompound) { public void writeToNBT(NBTTagCompound tagCompound) {
super.writeToNBTWithoutCoords(tagCompound); super.writeToNBT(tagCompound);
tagCompound.setDouble("euChange", euChange); tagCompound.setDouble("euChange", euChange);
tagCompound.setDouble("euLastTick", euLastTick); tagCompound.setDouble("euLastTick", euLastTick);
tagCompound.setInteger("output", OUTPUT); tagCompound.setInteger("output", OUTPUT);
inventory.writeToNBT(tagCompound); inventory.writeToNBT(tagCompound);
} }
public void readFromNBTWithoutCoords(NBTTagCompound nbttagcompound) { public void readFromNBT(NBTTagCompound nbttagcompound) {
super.readFromNBTWithoutCoords(nbttagcompound); super.readFromNBT(nbttagcompound);
this.euChange = nbttagcompound.getDouble("euChange"); this.euChange = nbttagcompound.getDouble("euChange");
this.euLastTick = nbttagcompound.getDouble("euLastTick"); this.euLastTick = nbttagcompound.getDouble("euLastTick");
this.OUTPUT = nbttagcompound.getInteger("output"); this.OUTPUT = nbttagcompound.getInteger("output");