mirror of
https://github.com/array-in-a-matrix/brainwine.git
synced 2025-04-02 11:11:58 -04:00
Perhaps actually call the method on disconnect
This commit is contained in:
parent
cfe5ba1167
commit
3a4abfadc6
1 changed files with 1 additions and 0 deletions
|
@ -264,6 +264,7 @@ public class Player extends Entity implements CommandExecutor {
|
|||
}
|
||||
|
||||
dialogs.clear();
|
||||
GameServer.getInstance().getPlayerManager().onPlayerDisconnect(this);
|
||||
connection.setPlayer(null);
|
||||
connection = null;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue