mirror of
https://github.com/array-in-a-matrix/brainwine.git
synced 2025-04-02 11:11:58 -04:00
Clear chunks on disconnect regardless of zone being null
This commit is contained in:
parent
d8369011bc
commit
fc2ab6bce0
1 changed files with 1 additions and 1 deletions
|
@ -261,10 +261,10 @@ public class Player extends Entity implements CommandExecutor {
|
|||
|
||||
if(zone != null) {
|
||||
zone.removePlayer(this);
|
||||
activeChunks.clear();
|
||||
}
|
||||
|
||||
dialogs.clear();
|
||||
activeChunks.clear();
|
||||
GameServer.getInstance().getPlayerManager().onPlayerDisconnect(this);
|
||||
connection.setPlayer(null);
|
||||
connection = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue