From 2c63075f255687131ce077d2c8de7b8735d60169 Mon Sep 17 00:00:00 2001 From: Ninjune Date: Fri, 28 Oct 2022 18:34:34 -0500 Subject: Updated to 1.5.1 (bug fixes) --- commands/help.js | 2 +- commands/setkey.js | 1 + commands/throne.js | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'commands') diff --git a/commands/help.js b/commands/help.js index c554294..bc22fda 100644 --- a/commands/help.js +++ b/commands/help.js @@ -6,7 +6,7 @@ export function help() ChatLib.chat("") ChatLib.chat(`${PREFIX}&b/cw [username] => Gets coleweight`) ChatLib.chat(`${PREFIX}&b/cw help => This menu.`) - ChatLib.chat(`${PREFIX}&b/cw gui => Change gui location`) + ChatLib.chat(`${PREFIX}&b/cw move => Change gui location`) ChatLib.chat(`${PREFIX}&b/cw toggle => Toggle gui (gui is only active when mining)`) ChatLib.chat(`${PREFIX}&b/cw setkey (key) => Sets API key (can also use /api new)`) ChatLib.chat(`${PREFIX}&b/cw reload => Reloads the gui.`) diff --git a/commands/setkey.js b/commands/setkey.js index 8024c0f..530bf28 100644 --- a/commands/setkey.js +++ b/commands/setkey.js @@ -1,4 +1,5 @@ import constants from "../util/constants" +import axios from "../../axios" const PREFIX = constants.PREFIX export function setkey(arg2) diff --git a/commands/throne.js b/commands/throne.js index 697304d..717ba3c 100644 --- a/commands/throne.js +++ b/commands/throne.js @@ -21,8 +21,10 @@ export function throne(arg2) constants.throneValues.push([startPos[0]+38, startPos[1]-15, startPos[2]+47]) constants.throneValues.push([startPos[0]+41, startPos[1]-44, startPos[2]+46]) constants.throneValues.push([startPos[0]+50, startPos[1]-28, startPos[2]+38]) + constants.throneValues.push([startPos[0]+55, startPos[1]-36, startPos[2]+29]) constants.throneValues.push([startPos[0]+49, startPos[1]-31, startPos[2]+1]) constants.throneValues.push([startPos[0]+50, startPos[1]-1, startPos[2]+10]) + constants.throneValues.push([startPos[0]+45, startPos[1]-3, startPos[2]-4]) ChatLib.chat(`${PREFIX}&bThrone waypoints turned on!`) } else -- cgit