tweak time limit
This commit is contained in:
parent
85fdc2df34
commit
9190e82b20
@ -116,10 +116,10 @@ public class PathingBehavior extends Behavior {
|
||||
// and this path dosen't get us all the way there
|
||||
return;
|
||||
}
|
||||
if (current.getPath().ticksRemainingFrom(current.getPosition()) < 100) {
|
||||
if (current.getPath().ticksRemainingFrom(current.getPosition()) < 200) {
|
||||
// and this path has 5 seconds or less left
|
||||
displayChatMessageRaw("Path almost over; planning ahead");
|
||||
findPathInNewThread(current.getPath().getDest(), true);
|
||||
findPathInNewThread(current.getPath().getDest(), false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user