Use BukkitAudiences#console() instead of serialization

This commit is contained in:
Draycia committed 2020-09-08 11:59:56 -07:00
1 parent 2ae106400a
commit 1ac07d0d3a
5 files changed
+5 -10

No files matched your search

@@ -68,8 +68,7 @@ public class AliasedChannelCommand {
Component component = getChatChannel().sendMessage(user, message, false);
carbonChat.getLogger().info(CarbonChat.LEGACY.serialize(component)
.replaceAll("(?:[^%]|\\A)%(?:[^%]|\\z)", "%%"));
carbonChat.getAdventureManager().getAudiences().console().sendMessage(component);
}
public ChatChannel getChatChannel() {