From 621cfa527f26a7b771d5c559252fdfe0e090d2f2 Mon Sep 17 00:00:00 2001 From: fullwall Date: Sat, 1 Sep 2012 15:10:00 +0800 Subject: [PATCH] Better output for /npc copy --- src/main/java/net/citizensnpcs/command/command/NPCCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/citizensnpcs/command/command/NPCCommands.java b/src/main/java/net/citizensnpcs/command/command/NPCCommands.java index 8acfc9d45..1df6782d5 100644 --- a/src/main/java/net/citizensnpcs/command/command/NPCCommands.java +++ b/src/main/java/net/citizensnpcs/command/command/NPCCommands.java @@ -154,7 +154,7 @@ public class NPCCommands { if (copy.isSpawned() && sender instanceof Player) copy.getBukkitEntity().teleport((Player) sender); - Messaging.sendF(sender, ChatColor.GREEN + "%s has been copied.", npc.getName()); + Messaging.sendF(sender, ChatColor.GREEN + "%s has been copied.", StringHelper.wrap(npc.getName())); } @Command(