From 4b1a0bbeae81c8d9b9e43f39c32940c13f5b7819 Mon Sep 17 00:00:00 2001 From: fullwall Date: Mon, 30 Apr 2012 19:56:57 +0800 Subject: [PATCH] Fix typo --- src/main/java/net/citizensnpcs/npc/ai/CitizensAI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/citizensnpcs/npc/ai/CitizensAI.java b/src/main/java/net/citizensnpcs/npc/ai/CitizensAI.java index e21e29cde..4bf2cc98d 100644 --- a/src/main/java/net/citizensnpcs/npc/ai/CitizensAI.java +++ b/src/main/java/net/citizensnpcs/npc/ai/CitizensAI.java @@ -146,7 +146,7 @@ public class CitizensAI implements AI { entry.goal.reset(); executingGoals.remove(entry); } - } else if (entry.goal.continueExecuting() && isGoalAllowable(entry)) { + } else if (entry.goal.shouldExecute() && isGoalAllowable(entry)) { entry.goal.start(); executingGoals.add(entry); }