mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 14:38:49 +00:00
Log shadowmute status in console
This commit is contained in:
1 parent
125e448908
commit
ebb6b67ab4
1 file changed
+2
-1
@@ -237,7 +237,8 @@ public class SimpleChatChannel extends ChatChannel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Log message to console
|
// 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)
|
// 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
|
// Use instanceof and not isOnline, if this message originates from another then the instanceof will
|
||||||
|
|||||||
Reference in new issue
Block a user