Archiviert
13
0

Don't disconnect a player if they're already disconnected (fixes BUKKIT-43)

Dieser Commit ist enthalten in:
Nathan Adams 2011-12-01 22:35:19 +00:00
Ursprung 6ea3cec762
Commit 6f79ca5c54

Datei anzeigen

@ -152,6 +152,8 @@ public class ServerConfigurationManager {
}
public String disconnect(EntityPlayer entityplayer) { // CraftBukkit - changed return type
if (entityplayer.netServerHandler.disconnected) return null; // CraftBukkit - exploitsies fix
// CraftBukkit start
// Quitting must be before we do final save of data, in case plugins need to modify it
this.getPlayerManager(entityplayer.dimension).removePlayer(entityplayer);