relog crash bug

This commit is contained in:
2025-02-27 19:16:37 -06:00
parent 140ba6ae75
commit 80b1ab709d
2 changed files with 21 additions and 3 deletions
@@ -511,6 +511,18 @@ public enum InterestManager implements Runnable {
if (player == null)
return;
for(PlayerCharacter pc : SessionManager.getAllActivePlayerCharacters()){
if(pc.equals(player)){
try{
WorldGrid.RemoveWorldObject(player);
}catch(Exception e){
}
}
}
ClientConnection origin = player.getClientConnection();
if (origin == null)