Update ProfilesPlugin.java

Don't want that thing to open on startup. its ridiculous.
This commit is contained in:
zeruth
2019-04-25 01:44:33 -04:00
parent 20989f7dc9
commit 5c6949231e

View File

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