about summary refs log tree commit diff
diff options
context:
space:
mode:
-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