method name change

This commit is contained in:
aPunch 2012-01-30 17:44:12 -06:00
parent be42d64c19
commit 4c8ccdcba2
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -123,7 +123,7 @@ public class NPCCommands {
@Requirements(ownership = true)
public void selectNPC(CommandContext args, Player player, NPC npc) {
NPC toSelect = npcManager.getNPC(args.getInteger(1));
if (toSelect == null || !toSelect.getTrait(Spawned.class).isSpawned()) {
if (toSelect == null || !toSelect.getTrait(Spawned.class).shouldSpawn()) {
Messaging.sendError(player, "No NPC with the ID '" + args.getInteger(1) + "' is spawned.");
return;
}