aboutsummaryrefslogtreecommitdiff
path: root/features
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 /features
parent46229d15c5605bfeffc4ff45b40b2d3f26686c38 (diff)
downloadSoopyV2-ef58bc02faa99b7c41eecadaaef5acda9a355210.tar.gz
SoopyV2-ef58bc02faa99b7c41eecadaaef5acda9a355210.tar.bz2
SoopyV2-ef58bc02faa99b7c41eecadaaef5acda9a355210.zip
+ make CH locations clear on world switch & meta
Diffstat (limited to 'features')
-rw-r--r--features/waypoints/index.js4
1 files changed, 4 insertions, 0 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() {