Merge branch 'master-MC1.9.4' of github.com:MightyPirates/OpenComputers into master-MC1.10

This commit is contained in:
Florian Nücke 2016-12-17 23:50:19 +01:00
commit ef10dbc921

View File

@ -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) {