mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-19 12:17:17 -04:00
Merge branch 'master-MC1.8.9' of github.com:MightyPirates/OpenComputers into master-MC1.9.4
This commit is contained in:
commit
368ddb8369
@ -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