mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 03:36:47 -04:00
Merge branch 'master-MC1.9.4' of github.com:MightyPirates/OpenComputers into master-MC1.10
This commit is contained in:
commit
ef10dbc921
@ -28,7 +28,8 @@ trait OpenSides extends TileEntity {
|
||||
|
||||
override def readFromNBTForServer(nbt: NBTTagCompound) {
|
||||
super.readFromNBTForServer(nbt)
|
||||
openSides = uncompressSides(nbt.getByte(Settings.namespace + "openSides"))
|
||||
if (nbt.hasKey(Settings.namespace + "openSides"))
|
||||
openSides = uncompressSides(nbt.getByte(Settings.namespace + "openSides"))
|
||||
}
|
||||
|
||||
override def writeToNBTForServer(nbt: NBTTagCompound) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user