opponent info: fix npcindicator color not working with show opponents in menu

This commit is contained in:
Usman Akhtar
2020-11-07 13:52:28 -05:00
committed by GitHub
parent 1cc422605d
commit 7f49b88b42

View File

@@ -184,7 +184,7 @@ public class OpponentInfoPlugin extends Plugin
if (npc.getInteracting() == client.getLocalPlayer() || lastOpponent == npc)
{
MenuEntry[] menuEntries = client.getMenuEntries();
menuEntries[menuEntries.length - 1].setTarget("*" + menuEntryAdded.getTarget());
menuEntries[menuEntries.length - 1].setTarget("*" + menuEntries[menuEntries.length - 1].getTarget());
client.setMenuEntries(menuEntries);
}
}