tweak time limit

This commit is contained in:
Leijurv 2018-08-13 12:42:28 -07:00
parent 85fdc2df34
commit 9190e82b20
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}