This commit is contained in:
aPunch 2012-02-06 05:58:22 -06:00
parent 0fa8a6cc03
commit b8bc6df251

View File

@ -55,7 +55,7 @@ public class NPCCommands {
Messaging.sendError(player, "'" + args.getString(2) + "' is not a valid mob type. Using default NPC."); Messaging.sendError(player, "'" + args.getString(2) + "' is not a valid mob type. Using default NPC.");
} }
NPC create = npcManager.createNPC(type, name); NPC create = npcManager.createNPC(type, name);
String successMsg = ChatColor.GREEN + "You created " + create.getName(); String successMsg = ChatColor.GREEN + "You created " + StringHelper.wrap(create.getName());
boolean success = true; boolean success = true;
if (args.argsLength() == 4) { if (args.argsLength() == 4) {
if (characterManager.getInstance(args.getString(3), create) == null) { if (characterManager.getInstance(args.getString(3), create) == null) {