Yo! New to this sorry if I know very little, first time making a mod (I usually make plugins)
I am trying to make a hotkey that when pressed would toggle the options>skin customization>main hand
I have been trying stuff, I manage to do it visually with:
client.player?.let { it.mainArm = if (it.mainArm == Arm.RIGHT) Arm.LEFT else Arm.RIGHT }
But it doesn't seem to update the setting, I tried with client.options.mainArm that seems like its read only.
Is there something I am missing? A work arround? Or it just not possible?