Allow nick request from nick preview message

This commit is contained in:
Len
2025-02-07 20:45:21 +01:00
parent f5c0a0676c
commit ea705c879f
2 changed files with 3 additions and 2 deletions
@@ -95,7 +95,8 @@ public class Nicknames implements CommandExecutor, TabCompleter {
sender.sendMessage(Utility.parseMiniMessage(Config.NICK_TRYOUT,
Placeholder.component("prefix", Utility.applyColor(api.getUserManager().getUser(player.getUniqueId())
.getCachedData().getMetaData().getPrefix())), // TODO pull this from chatuser?
Placeholder.component("nick", Utility.applyColor(args[1]))));
Placeholder.component("nick", Utility.applyColor(args[1])),
Placeholder.unparsed("nickrequest", args[1])));
}
} else {
sender.sendMessage(Utility.parseMiniMessage(Config.NICK_NO_LUCKPERMS));