Update MCTargetStrategy.java

This commit is contained in:
fullwall 2014-04-06 20:19:15 +08:00
parent 99862ecf06
commit c2858ec81e

View File

@ -119,7 +119,9 @@ public class MCTargetStrategy implements PathStrategy, EntityTarget {
if (cancelReason != null) {
return true;
}
if (target.getWorld().getWorld().getFullTime() % 10 == 0) {
setPath();
}
NMS.look(handle, target);
if (aggro && canAttack()) {
AttackStrategy strategy = parameters.attackStrategy();