mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 11:48:02 -04:00
Merge branch 'master' of github.com:MightyPirates/OpenComputers into master-MC1.7.10
This commit is contained in:
commit
c8dcc38114
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user