Fixed transporter beacon loosing enable state on chunk loading
This commit is contained in:
parent
8f894a7129
commit
85176a5832
1 changed files with 2 additions and 0 deletions
|
@ -234,6 +234,7 @@ public class TileEntityTransporterBeacon extends TileEntityAbstractEnergy implem
|
|||
tagCompound.setLong("uuidLeast", uuidTransporterCore.getLeastSignificantBits());
|
||||
}
|
||||
|
||||
tagCompound.setBoolean("isEnabled", isEnabled);
|
||||
tagCompound.setInteger("tickDeploying", tickDeploying);
|
||||
}
|
||||
|
||||
|
@ -248,6 +249,7 @@ public class TileEntityTransporterBeacon extends TileEntityAbstractEnergy implem
|
|||
nameTransporterCore = "";
|
||||
}
|
||||
|
||||
isEnabled = !tagCompound.hasKey("isEnabled") || tagCompound.getBoolean("isEnabled");
|
||||
tickDeploying = tagCompound.getInteger("tickDeploying");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue