From 1d344df411d41c42e7ad179bd1c5859c9578923b Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 26 Nov 2019 10:13:09 -0500 Subject: [PATCH] npc highlight: fix npc interactible check isVisible is actually the draw priority and is not what we want here --- .../runelite/client/plugins/npchighlight/NpcSceneOverlay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcSceneOverlay.java b/runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcSceneOverlay.java index d6bb1268ea..b1a5ed8ada 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcSceneOverlay.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcSceneOverlay.java @@ -146,7 +146,7 @@ public class NpcSceneOverlay extends Overlay private void renderNpcOverlay(Graphics2D graphics, NPC actor, Color color) { NPCComposition npcComposition = actor.getTransformedComposition(); - if (npcComposition == null || !npcComposition.isVisible()) + if (npcComposition == null || !npcComposition.isInteractible()) { return; }