mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-16 15:46:14 +01:00
whoops
This commit is contained in:
parent
0fa8a6cc03
commit
b8bc6df251
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user