Better output for /npc copy

This commit is contained in:
fullwall 2012-09-01 15:10:00 +08:00
parent bc82b642af
commit 621cfa527f

View File

@ -154,7 +154,7 @@ public class NPCCommands {
if (copy.isSpawned() && sender instanceof Player) if (copy.isSpawned() && sender instanceof Player)
copy.getBukkitEntity().teleport((Player) sender); 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( @Command(