Fixed manipulator's "self-pulse" mode not being saved to the world data
This commit is contained in:
parent
698847dfcd
commit
9e528c8461
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue