From 130b6536950e05ef9a97fdf35ee4bac0b9141137 Mon Sep 17 00:00:00 2001 From: ceikry Date: Mon, 19 Jul 2021 16:16:28 -0500 Subject: [PATCH] Fixed an issue with the mage of zamorak --- Server/src/main/java/core/net/packet/in/InteractionPacket.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/src/main/java/core/net/packet/in/InteractionPacket.java b/Server/src/main/java/core/net/packet/in/InteractionPacket.java index 492b3fd38..d92d20cb3 100644 --- a/Server/src/main/java/core/net/packet/in/InteractionPacket.java +++ b/Server/src/main/java/core/net/packet/in/InteractionPacket.java @@ -187,7 +187,7 @@ public final class InteractionPacket implements IncomingPacket { player.debug("spawn=" + npc.getProperties().getSpawnLocation() + "."); player.debug("Varp ID= " + npc.getDefinition().getConfigId() + " Offset=" + npc.getDefinition().getVarbitOffset() + " Size=" + npc.getDefinition().getVarbitSize()); handleAIPLegion(player, 0, optionIndex, index); - if(InteractionListeners.run(npc.getId(),2, option.getName(),player,npc)){ + if(InteractionListeners.run(shown.getId(),2, option.getName(),player,npc)){ return; } if(PluginInteractionManager.handle(player,shown,option)){