mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Ignore empty messages (not just null) for join and quit
This commit is contained in:
1 parent
aa90f2ff9c
commit
91b673e375
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user