mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Use name placeholder in nick other
This commit is contained in:
1 parent
a84d1eec5f
commit
15c88a5e14
1 file changed
+1
-1
@@ -27,7 +27,7 @@ public class NicknameCommand extends BaseCommand {
|
||||
|
||||
String message = carbonChat.getConfig().getString("language.other-nickname-set");
|
||||
sender.sendMessage(carbonChat.getAdventureManager().processMessage(
|
||||
message, "nickname", nickname));
|
||||
message, "nickname", nickname, "user", target.asOfflinePlayer().getName()));
|
||||
|
||||
target.asPlayer().setDisplayName(legacyNickname);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user