Ignore empty messages (not just null) for join and quit

This commit is contained in:
Nathan Adams
2011-11-28 06:21:35 +00:00
parent aa90f2ff9c
commit 91b673e375
2 changed files with 2 additions and 2 deletions

View File

@@ -130,7 +130,7 @@ public class ServerConfigurationManager {
String joinMessage = playerJoinEvent.getJoinMessage();
if (joinMessage != null) {
if ((joinMessage != null) && (joinMessage.length() > 0)) {
this.server.serverConfigurationManager.sendAll(new Packet3Chat(joinMessage));
}
// CraftBukkit end