Merge pull request #5339 from Nightfirecat/colorize-lookup-player-menu

hiscore plugin: Colorize "Lookup" player menu entry
This commit is contained in:
Tomas Slusny
2018-09-15 05:44:34 +02:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -201,6 +201,7 @@ public class HiscorePlugin extends Plugin
lookup.setType(MenuAction.RUNELITE.getId());
lookup.setParam0(event.getActionParam0());
lookup.setParam1(event.getActionParam1());
lookup.setIdentifier(event.getIdentifier());
insertMenuEntry(lookup, client.getMenuEntries(), after);
}

View File

@@ -111,7 +111,8 @@ public class PlayerIndicatorsPlugin extends Plugin
|| type == PLAYER_FIFTH_OPTION.getId()
|| type == PLAYER_SIXTH_OPTION.getId()
|| type == PLAYER_SEVENTH_OPTION.getId()
|| type == PLAYER_EIGTH_OPTION.getId())
|| type == PLAYER_EIGTH_OPTION.getId()
|| type == RUNELITE.getId())
{
final Player localPlayer = client.getLocalPlayer();
Player[] players = client.getCachedPlayers();