Fixed manipulator's "self-pulse" mode not being saved to the world data

This commit is contained in:
Brian Ricketts 2013-01-04 12:32:31 -06:00
parent 698847dfcd
commit 9e528c8461

View file

@ -437,6 +437,7 @@ public class TileEntityManipulator extends TileEntityImprintable implements IRed
{ {
super.readFromNBT(nbt); super.readFromNBT(nbt);
this.isOutput = nbt.getBoolean("isOutput"); this.isOutput = nbt.getBoolean("isOutput");
this.selfPulse = nbt.getBoolean("selfpulse");
} }
/** /**
@ -447,6 +448,7 @@ public class TileEntityManipulator extends TileEntityImprintable implements IRed
{ {
super.writeToNBT(nbt); super.writeToNBT(nbt);
nbt.setBoolean("isOutput", this.isOutput); nbt.setBoolean("isOutput", this.isOutput);
nbt.setBoolean("selfpulse", this.selfPulse);
} }
@Override @Override