about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-16 01:49:08 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-16 01:49:08 +0100
commitde2a990f7ba1b93963318d4fa89f91f8e7d248d0 (patch)
tree53b0294e9592df24f7b902e99520242e22b820a0
parentBot: Dont use y for the goal (diff)
download2bored2walk-de2a990f7ba1b93963318d4fa89f91f8e7d248d0.tar.gz
2bored2walk-de2a990f7ba1b93963318d4fa89f91f8e7d248d0.tar.bz2
2bored2walk-de2a990f7ba1b93963318d4fa89f91f8e7d248d0.zip
Bot: Dont use entity avoidance during pathfinding
-rw-r--r--src/main.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.ts b/src/main.ts
index 2ff4d7a..9462ba7 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -61,6 +61,7 @@ bot.once('spawn', () => {
   const defaultMove = new Movements(bot);
   defaultMove.allowParkour = false;
   defaultMove.maxDropDown = 3;
+  defaultMove.allowEntityDetection = false;
 
   (bot as any).autoEat.options.priority = 'saturation';
   (bot as any).autoEat.options.startAt = 16;