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

This commit is contained in:
Florian Nücke 2014-08-03 14:13:59 +02:00
commit c8dcc38114

View File

@ -259,6 +259,17 @@ class Screen(var tier: Int) extends traits.TextBuffer with SidedEnvironment with
nbt.setBoolean(Settings.namespace + "invertTouchMode", invertTouchMode)
}
@SideOnly(Side.CLIENT) override
def readFromNBTForClient(nbt: NBTTagCompound) {
super.readFromNBTForClient(nbt)
invertTouchMode = nbt.getBoolean("invertTouchMode")
}
override def writeToNBTForClient(nbt: NBTTagCompound) {
super.writeToNBTForClient(nbt)
nbt.setBoolean("invertTouchMode", invertTouchMode)
}
// ----------------------------------------------------------------------- //
@SideOnly(Side.CLIENT)