diff --git a/src/de/steamwar/bungeecore/listeners/ChatListener.java b/src/de/steamwar/bungeecore/listeners/ChatListener.java index ba37c77..df006f9 100644 --- a/src/de/steamwar/bungeecore/listeners/ChatListener.java +++ b/src/de/steamwar/bungeecore/listeners/ChatListener.java @@ -131,7 +131,7 @@ public class ChatListener extends BasicListener { return true; } - if(message.replace("§[a-f0-9klmno]", "").strip().isEmpty()) { + if(message.replace("§[a-f0-9klmno]", "").trim().isEmpty()) { sender.system("CHAT_EMPTY"); return true; }