OldScape
OldScape copied to clipboard
Npc & Loc Transforms
In both the NpcConfig and LocConfig, the writing of the opcodes 106&108(varbit/varp transformations) is slightly incorrect.
data.writeOpcode(if (transforms.last() == null) 118 else 106)
Should be inverted to
data.writeOpcode(if (transforms.last() != null) 118 else 106)
Edit: This also applies to HitMarkConfig, although it uses different opcodes for them.