mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Ignore empty message prefixes
This commit is contained in:
1 parent
1ac07d0d3a
commit
30f57521be
1 file changed
+1
-1
@@ -34,7 +34,7 @@ public class BukkitChatListener implements Listener {
|
||||
}
|
||||
|
||||
for (ChatChannel entry : carbonChat.getChannelManager().getRegistry().values()) {
|
||||
if (entry.getMessagePrefix() == null) {
|
||||
if (entry.getMessagePrefix() == null || entry.getMessagePrefix().isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user