fix random traverse sprinting
This commit is contained in:
parent
1210db5d37
commit
f9a819b6a5
@ -141,6 +141,7 @@ public class PathExecutor extends Behavior {
|
||||
System.out.println("Movement done, next path");
|
||||
pathPosition++;
|
||||
ticksOnCurrent = 0;
|
||||
onTick(event);
|
||||
} else {
|
||||
ticksOnCurrent++;
|
||||
if (ticksOnCurrent > movement.recalculateCost() + 100) {
|
||||
|
Loading…
Reference in New Issue
Block a user