Made Atomic Reconstructor save its power.

Whoops.
This commit is contained in:
Ellpeck 2015-11-15 21:22:06 +01:00
parent 1b19ecd8cd
commit 075e417545

View file

@ -135,12 +135,14 @@ public class TileEntityAtomicReconstructor extends TileEntityBase implements IEn
public void writeSyncableNBT(NBTTagCompound compound, boolean sync){
super.writeSyncableNBT(compound, sync);
compound.setInteger("CurrentTime", this.currentTime);
this.storage.writeToNBT(compound);
}
@Override
public void readSyncableNBT(NBTTagCompound compound, boolean sync){
super.readSyncableNBT(compound, sync);
this.currentTime = compound.getInteger("CurrentTime");
this.storage.writeToNBT(compound);
}
@Override