Skip to content

Commit

Permalink
Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComput…
Browse files Browse the repository at this point in the history
…ers into OC1.6-MC1.7.10
  • Loading branch information
fnuecke committed Dec 17, 2016
2 parents e9cc754 + 94efa8d commit 3eb5dc4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,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) {
Expand Down

0 comments on commit 3eb5dc4

Please sign in to comment.