From 8ed87dd9252aae4f354c66e820cf1052bd0e75cc Mon Sep 17 00:00:00 2001 From: Baitinq Date: Thu, 16 Feb 2023 01:26:57 +0100 Subject: Bot: Dont use y for the goal --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1