This commit is contained in:
fullwall 2012-04-30 19:56:57 +08:00
parent 34622b0ba3
commit 4b1a0bbeae

View File

@ -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);
}