This commit is contained in:
fullwall 2012-04-30 19:56:57 +08:00
parent 9fa9e73f21
commit 8960722ad7
1 changed files with 1 additions and 1 deletions

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