Merge pull request #7785 from deathbeam/clear-cerb-ghosts-on-loading
Clear Cerberus ghost on LOADING game state
This commit is contained in:
@@ -75,7 +75,7 @@ public class CerberusPlugin extends Plugin
|
|||||||
@Subscribe
|
@Subscribe
|
||||||
public void onGameStateChanged(GameStateChanged event)
|
public void onGameStateChanged(GameStateChanged event)
|
||||||
{
|
{
|
||||||
if (event.getGameState() == GameState.LOGIN_SCREEN || event.getGameState() == GameState.HOPPING)
|
if (event.getGameState() == GameState.LOADING)
|
||||||
{
|
{
|
||||||
ghosts.clear();
|
ghosts.clear();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user