mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 14:38:49 +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()) {
|
for (ChatChannel entry : carbonChat.getChannelManager().getRegistry().values()) {
|
||||||
if (entry.getMessagePrefix() == null) {
|
if (entry.getMessagePrefix() == null || entry.getMessagePrefix().isEmpty()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user