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.
This commit is contained in:
Adam
2021-09-09 12:44:43 -04:00
parent 49ecbab6b6
commit 342e0169e3

View File

@@ -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)
{