diff --git a/src/main/java/net/blockhost/minicommands/MiniCommandRegistration.java b/src/main/java/net/blockhost/minicommands/MiniCommandRegistration.java index be3791c..c0aa564 100644 --- a/src/main/java/net/blockhost/minicommands/MiniCommandRegistration.java +++ b/src/main/java/net/blockhost/minicommands/MiniCommandRegistration.java @@ -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); }