From 0c7f6fda9cbf02408c35a5353b8208e5aad7c2f8 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 15 Nov 2019 09:47:11 -0500 Subject: [PATCH] world hopper: assign leagues world color Co-authored-by: Hydrox6 --- .../runelite/client/plugins/worldhopper/WorldTableRow.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/worldhopper/WorldTableRow.java b/runelite-client/src/main/java/net/runelite/client/plugins/worldhopper/WorldTableRow.java index 077dd7f72b..31449ff61b 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/worldhopper/WorldTableRow.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/worldhopper/WorldTableRow.java @@ -62,6 +62,7 @@ class WorldTableRow extends JPanel private static final Color TOURNAMENT_WORLD = new Color(79, 145, 255); private static final Color MEMBERS_WORLD = new Color(210, 193, 53); private static final Color FREE_WORLD = new Color(200, 200, 200); + private static final Color LEAGUE_WORLD = new Color(157, 237, 1); static { @@ -249,6 +250,10 @@ class WorldTableRow extends JPanel { activityField.setForeground(DANGEROUS_WORLD); } + else if (world.getTypes().contains(WorldType.LEAGUE)) + { + activityField.setForeground(LEAGUE_WORLD); + } else if (world.getTypes().contains(WorldType.TOURNAMENT)) { activityField.setForeground(TOURNAMENT_WORLD);