aboutsummaryrefslogtreecommitdiff
path: root/features/events/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-29 15:27:17 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-29 15:27:17 +0800
commit31ff9315ea257e35675bcf3beb8d98cd8b7bb5d2 (patch)
treeb9b8257d614b9f18f85cd75bf293be70f6752515 /features/events/index.js
parentf4e50e0a4e21f9deba3f931d76d522a1014c8a41 (diff)
downloadSoopyV2-31ff9315ea257e35675bcf3beb8d98cd8b7bb5d2.tar.gz
SoopyV2-31ff9315ea257e35675bcf3beb8d98cd8b7bb5d2.tar.bz2
SoopyV2-31ff9315ea257e35675bcf3beb8d98cd8b7bb5d2.zip
remove /sethubwarp
add ahalerts thing (no gui yet)
Diffstat (limited to 'features/events/index.js')
-rw-r--r--features/events/index.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/features/events/index.js b/features/events/index.js
index 5028e5d..1b51607 100644
--- a/features/events/index.js
+++ b/features/events/index.js
@@ -18,8 +18,7 @@ let warpData = {
"castle": [-250, 130, 45],
"da": [91, 75, 176],
"museum": [-75, 76, 80],
- "hub": [-2, 70, -69],
- "worldload": undefined
+ "hub": [-2, 70, -69]
}
function getKeyBindFromKey(key, description) {
var mcKeyBind = undefined //MinecraftVars.getKeyBindFromKey(key);
@@ -95,7 +94,6 @@ class Events extends Feature {
this.todoE = []
this.hasWarps = new Set()
- this.hasWarps.add("worldload")
this.shinyBlockOverlayEnabled = new ToggleSetting("Shiny blocks highlight", "Will highlight shiny blocks in the end", false, "shiny_blocks_overlay", this)
@@ -127,11 +125,6 @@ class Events extends Feature {
this.registerStep(true, 1, this.step_1fps)
this.registerStep(true, 10, this.step_10fps)
-
- this.registerCommand("sethubwarp", () => {
- warpData.worldload = [Player.getX(), Player.getY(), Player.getZ()]
- ChatLib.chat(this.FeatureManager.messagePrefix + "Set /hub location!")
- })
}
step_1fps() {
@@ -300,7 +293,6 @@ class Events extends Feature {
let d = calculateDistance(warpData[w], this.guessPoint)
if (d < minDist) {
warp = "warp " + w
- if (w === "worldload") warp = "hub"
minDist = d
}
})
@@ -313,7 +305,6 @@ class Events extends Feature {
}
worldLoad() {
- warpData.worldload = [Player.getX(), Player.getY(), Player.getZ()]
this.burrialData.points = []
this.burrialData.locations = []