From 342e0169e3eb6d0cd6991099c66da0c6a1b491ff Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 9 Sep 2021 12:44:43 -0400 Subject: [PATCH] npc minimap overlay: use unmodified highlight color The darker() is originally from the npc indicators minimap overlay, but other plugins now using this such as impling plugin do not expect this. If we require the minimap colors to be different later we should add a separate property specifically for it. --- .../net/runelite/client/game/npcoverlay/NpcMinimapOverlay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runelite-client/src/main/java/net/runelite/client/game/npcoverlay/NpcMinimapOverlay.java b/runelite-client/src/main/java/net/runelite/client/game/npcoverlay/NpcMinimapOverlay.java index 1639a2f8c9..9e0481ed65 100644 --- a/runelite-client/src/main/java/net/runelite/client/game/npcoverlay/NpcMinimapOverlay.java +++ b/runelite-client/src/main/java/net/runelite/client/game/npcoverlay/NpcMinimapOverlay.java @@ -80,7 +80,7 @@ class NpcMinimapOverlay extends Overlay if (minimapLocation != null) { Color color = highlightedNpc.getHighlightColor(); - OverlayUtil.renderMinimapLocation(graphics, minimapLocation, color.darker()); + OverlayUtil.renderMinimapLocation(graphics, minimapLocation, color); if (highlightedNpc.isNameOnMinimap() && actor.getName() != null) {