diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2023-02-17 02:15:45 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2023-02-17 02:15:49 +0100 |
commit | 034911aec4f2131546187a159982680ae88e36aa (patch) | |
tree | 31233d0d7c08ca24a1d5ba305974e2ed1fb7142e | |
parent | Bot: Send message to discord on goal_reached (diff) | |
download | 2bored2walk-034911aec4f2131546187a159982680ae88e36aa.tar.gz 2bored2walk-034911aec4f2131546187a159982680ae88e36aa.tar.bz2 2bored2walk-034911aec4f2131546187a159982680ae88e36aa.zip |
Bot: Increase pathfinding think timeout to 20s
-rw-r--r-- | src/main.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.ts b/src/main.ts index 2a9d3fb..4377726 100644 --- a/src/main.ts +++ b/src/main.ts @@ -68,6 +68,7 @@ bot.once('spawn', async () => { (bot as any).autoArmor.checkOnItemPickup = true; + (bot as any).pathfinder.thinkTimeout = 20000; (bot as any).pathfinder.setMovements(defaultMove); (bot as any).pathfinder.setGoal(goal); |