Update ProfilesPlugin.java
Don't want that thing to open on startup. its ridiculous.
This commit is contained in:
@@ -100,19 +100,7 @@ public class ProfilesPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
clientToolbar.removeNavigation(navButton);
|
clientToolbar.removeNavigation(navButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe
|
|
||||||
void onGameStateChanged(GameStateChanged event)
|
|
||||||
{
|
|
||||||
if (event.getGameState().equals(GameState.LOGIN_SCREEN) && config.switchPanel())
|
|
||||||
{
|
|
||||||
if (!navButton.isSelected())
|
|
||||||
{
|
|
||||||
navButton.getOnSelect().run();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
private void onConfigChanged(ConfigChanged event) throws Exception
|
private void onConfigChanged(ConfigChanged event) throws Exception
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user