aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-07-02 12:14:52 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-07-02 12:14:52 +0800
commitef58bc02faa99b7c41eecadaaef5acda9a355210 (patch)
treed1caad06403806ac4a0a3b39b2fa47d948a8a7ea
parent46229d15c5605bfeffc4ff45b40b2d3f26686c38 (diff)
downloadSoopyV2-ef58bc02faa99b7c41eecadaaef5acda9a355210.tar.gz
SoopyV2-ef58bc02faa99b7c41eecadaaef5acda9a355210.tar.bz2
SoopyV2-ef58bc02faa99b7c41eecadaaef5acda9a355210.zip
+ make CH locations clear on world switch & meta
-rw-r--r--features/waypoints/index.js4
-rw-r--r--metadata.json4
2 files changed, 6 insertions, 2 deletions
diff --git a/features/waypoints/index.js b/features/waypoints/index.js
index 229a6a2..f9eb039 100644
--- a/features/waypoints/index.js
+++ b/features/waypoints/index.js
@@ -222,6 +222,10 @@ class Waypoints extends Feature {
})
})
}).registeredWhen(() => this.mineWaypointsSetting.getValue())
+
+ this.registerEvent("worldLoad", () => {
+ this.locations = {}
+ })
}
tickWaypoints() {
diff --git a/metadata.json b/metadata.json
index b69048f..c9d249c 100644
--- a/metadata.json
+++ b/metadata.json
@@ -5,8 +5,8 @@
"entry": "index.js",
"description": "SoopyV2",
"name": "SoopyV2",
- "version": "2.1.113",
- "versionId": 240,
+ "version": "2.1.114",
+ "versionId": 241,
"requires": [
"soopyApis",
"soopyAddonsData",