Reset XP on log-in of another character / mode

This commit is contained in:
Levi Schuck
2018-04-09 23:03:09 -05:00
parent a3872b12d2
commit f287cf7721

View File

@@ -153,6 +153,7 @@ public class XpTrackerPlugin extends Plugin
lastUsername = client.getUsername(); lastUsername = client.getUsername();
lastWorldType = type; lastWorldType = type;
xpPanel.resetAllInfoBoxes(); xpPanel.resetAllInfoBoxes();
xpInfos.clear();
} }
} }
else if (event.getGameState() == GameState.LOGIN_SCREEN) else if (event.getGameState() == GameState.LOGIN_SCREEN)