Ignore empty message prefixes

This commit is contained in:
Draycia committed 2020-09-08 20:06:43 -07:00
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;
}