From 034911aec4f2131546187a159982680ae88e36aa Mon Sep 17 00:00:00 2001 From: Baitinq Date: Fri, 17 Feb 2023 02:15:45 +0100 Subject: Bot: Increase pathfinding think timeout to 20s --- src/main.ts | 1 + 1 file changed, 1 insertion(+) 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); -- cgit 1.4.1