about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-16 01:26:57 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-16 01:27:02 +0100
commit8ed87dd9252aae4f354c66e820cf1052bd0e75cc (patch)
treefe5c01be66beaa51465a7afba9de078304d2aa41
parentMisc: Add TODO (diff)
download2bored2walk-8ed87dd9252aae4f354c66e820cf1052bd0e75cc.tar.gz
2bored2walk-8ed87dd9252aae4f354c66e820cf1052bd0e75cc.tar.bz2
2bored2walk-8ed87dd9252aae4f354c66e820cf1052bd0e75cc.zip
Bot: Dont use y for the goal
-rw-r--r--src/main.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.ts b/src/main.ts
index aa01840..2ff4d7a 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -9,7 +9,7 @@ import { plugin as autoeat } from 'mineflayer-auto-eat';
 import autoArmor from '@nxg-org/mineflayer-auto-armor';
 
 const hostname: string = "localhost"
-const goal: goals.Goal = new goals.GoalNear(0, 60, -2000000, 44)
+const goal: goals.Goal = new goals.GoalNearXZ(0, -2000000, 44)
 const updateTimeMinutes: number = 30
 const minHealth: number = 0
 const swingArmTimeSeconds: number = 3