diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index 157a6aadea..830212c6e0 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -150,7 +150,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener { // CraftBukkit start leaveMessage = event.getLeaveMessage(); - if (leaveMessage != null) { + if (leaveMessage != null && leaveMessage.length() > 0) { this.minecraftServer.serverConfigurationManager.sendAll(new Packet3Chat(leaveMessage)); } getPlayer().disconnect(s);