Skip to content

Commit

Permalink
Fix custom system messages being send as signed ones
Browse files Browse the repository at this point in the history
  • Loading branch information
Patbox committed Jan 14, 2023
1 parent 38e8ca2 commit fca2f54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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())));
}
}

Expand Down

0 comments on commit fca2f54

Please sign in to comment.