Log shadowmute status in console

This commit is contained in:
Draycia committed 2020-07-01 07:59:51 -07:00
1 parent 125e448908
commit ebb6b67ab4
1 file changed
+2 -1
@@ -237,7 +237,8 @@ public class SimpleChatChannel extends ChatChannel {
}
// Log message to console
System.out.println(LegacyComponentSerializer.legacy().serialize(formattedMessage));
String sm = simpleChat.isUserShadowMuted(player) ? "[SM] " : "";
System.out.println(sm + LegacyComponentSerializer.legacy().serialize(formattedMessage));
// Route message to bungee / discord (if message originates from this server)
// Use instanceof and not isOnline, if this message originates from another then the instanceof will