Change error message

This commit is contained in:
aPunch 2012-04-14 18:37:13 -05:00
parent 4e245cff4f
commit 7aa5e4bd74

View File

@ -271,7 +271,7 @@ public class Citizens extends JavaPlugin {
try {
type = EntityType.valueOf(key.getString("traits.type"));
} catch (IllegalArgumentException ex) {
throw new NPCLoadException("type not recognised");
throw new NPCLoadException("NPC type not recognized. Did you spell it correctly?");
}
}
NPC npc = npcManager.createNPC(type, id, key.getString("name"), null);