Skip to content

Commit

Permalink
Make username parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Aug 30, 2024
1 parent 5e9959d commit fc10f12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public void execute(Invocation invocation) {
for (var message : messages) {
var username = source instanceof Player player ? player.getUsername() : "Console";

TagResolver resolver = Placeholder.component("name", Component.text(username));
TagResolver resolver = Placeholder.parsed("name", username);
if (plugin.getServer().getPluginManager().isLoaded("miniplaceholders")) {
resolver = TagResolver.resolver(MiniPlaceholdersModule.getTagResolver(source), resolver);
}
Expand Down

0 comments on commit fc10f12

Please sign in to comment.