diff --git a/cache/src/main/java/net/runelite/cache/definitions/NpcDefinition.java b/cache/src/main/java/net/runelite/cache/definitions/NpcDefinition.java index ddfabfe367..4c66d95fd8 100644 --- a/cache/src/main/java/net/runelite/cache/definitions/NpcDefinition.java +++ b/cache/src/main/java/net/runelite/cache/definitions/NpcDefinition.java @@ -64,4 +64,5 @@ public class NpcDefinition public boolean rotationFlag = true; public boolean isPet; public Map params; + public int category; } diff --git a/cache/src/main/java/net/runelite/cache/definitions/loaders/NpcLoader.java b/cache/src/main/java/net/runelite/cache/definitions/loaders/NpcLoader.java index 0ce81f864b..1804340bcb 100644 --- a/cache/src/main/java/net/runelite/cache/definitions/loaders/NpcLoader.java +++ b/cache/src/main/java/net/runelite/cache/definitions/loaders/NpcLoader.java @@ -98,6 +98,10 @@ else if (opcode == 17) def.rotate90RightAnimation = stream.readUnsignedShort(); def.rotate90LeftAnimation = stream.readUnsignedShort(); } + else if (opcode == 18) + { + def.category = stream.readUnsignedShort(); + } else if (opcode >= 30 && opcode < 35) { def.actions[opcode - 30] = stream.readString();