Skip to content

Commit

Permalink
don't overtrack temp targets
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 3, 2019
1 parent f54384c commit 67e901e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -268,7 +268,7 @@ public void processAvoidance() {
if (!canSee((LivingEntity) entity) && !targetingHelper.currentAvoids.contains(tempTarget)) {
continue;
}
if (targetingHelper.currentAvoids.contains(tempTarget) || shouldAvoid((LivingEntity) entity)) {
if (shouldAvoid((LivingEntity) entity)) {
avoidanceList.add((LivingEntity) entity);
targetingHelper.addAvoid(entity.getUniqueId());
}
Expand Down

0 comments on commit 67e901e

Please sign in to comment.