From ef58bc02faa99b7c41eecadaaef5acda9a355210 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sat, 2 Jul 2022 12:14:52 +0800 Subject: + make CH locations clear on world switch & meta --- features/waypoints/index.js | 4 ++++ metadata.json | 4 ++-- 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", -- cgit