mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-25 10:37:35 +01:00
Make targeted NPCs update their path more frequently
This commit is contained in:
parent
b36e62effd
commit
2813508cc9
@ -118,7 +118,7 @@ public class MCTargetStrategy implements PathStrategy, EntityTarget {
|
||||
}
|
||||
if (!aggro && distanceSquared() < parameters.distanceMargin()) {
|
||||
stop();
|
||||
} else if (updateCounter++ > 60) {
|
||||
} else if (updateCounter++ > 20) {
|
||||
setPath();
|
||||
updateCounter = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user