Proper fix for the console spam on disconnect/kick.

This commit is contained in:
EvilSeph
2011-04-21 19:08:40 -04:00
parent 8ba9f32162
commit c18e04ce8b
2 changed files with 2 additions and 3 deletions

View File

@@ -118,9 +118,9 @@ public class ServerConfigurationManager {
this.playerFileData.a(entityplayer);
entityplayer.world.kill(entityplayer); // CraftBukkit
this.players.remove(entityplayer);
((WorldServer) entityplayer.world).manager.removePlayer(entityplayer);
return playerQuitEvent.getQuitMessage(); // CraftBukkit
// CraftBukkit end
}
public EntityPlayer a(NetLoginHandler netloginhandler, String s) {