From 5c6949231ee14d8ba4dcd189d6b46cc25aa77325 Mon Sep 17 00:00:00 2001 From: zeruth Date: Thu, 25 Apr 2019 01:44:33 -0400 Subject: [PATCH] Update ProfilesPlugin.java Don't want that thing to open on startup. its ridiculous. --- .../client/plugins/profiles/ProfilesPlugin.java | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/profiles/ProfilesPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/profiles/ProfilesPlugin.java index 79adbccacd..239d14fe18 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/profiles/ProfilesPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/profiles/ProfilesPlugin.java @@ -100,19 +100,7 @@ public class ProfilesPlugin extends Plugin { clientToolbar.removeNavigation(navButton); } - - @Subscribe - void onGameStateChanged(GameStateChanged event) - { - if (event.getGameState().equals(GameState.LOGIN_SCREEN) && config.switchPanel()) - { - if (!navButton.isSelected()) - { - navButton.getOnSelect().run(); - } - } - } - + @Subscribe private void onConfigChanged(ConfigChanged event) throws Exception {