diff --git a/gradle.properties b/gradle.properties index 9cfe407..a6e0497 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,7 +12,7 @@ fabric_version=0.68.1+1.19.3 # Mod Properties - mod_version = 2.1.1+1.19.3 + mod_version = 2.1.2+1.19.3 maven_group = eu.pb4 archives_base_name = styled-chat diff --git a/src/main/java/eu/pb4/styledchat/other/StyledChatSentMessage.java b/src/main/java/eu/pb4/styledchat/other/StyledChatSentMessage.java index 2e865ab..54709e9 100644 --- a/src/main/java/eu/pb4/styledchat/other/StyledChatSentMessage.java +++ b/src/main/java/eu/pb4/styledchat/other/StyledChatSentMessage.java @@ -77,7 +77,7 @@ public void send(ServerPlayerEntity receiver, boolean filterMaskEnabled, Message ? baseInput : message.getContent(); - receiver.networkHandler.sendChatMessage(message, StyledChatUtils.createParameters(StyledChatStyles.getCustom(id, params.name(), input, params.targetName(), source != null ? source : StyledChatMod.server.getCommandSource()))); + receiver.networkHandler.sendProfilelessChatMessage(message.getContent(), StyledChatUtils.createParameters(StyledChatStyles.getCustom(id, params.name(), input, params.targetName(), source != null ? source : StyledChatMod.server.getCommandSource()))); } }