From c25141fb3cf06f5e86944eda239a3a29c9ca3dc3 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Thu, 22 Sep 2022 14:20:46 +0800 Subject: + fix another bug D: +meta --- src/features/stat_next_to_name/index.js | 2 +- src/metadata.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/features/stat_next_to_name/index.js b/src/features/stat_next_to_name/index.js index 3845b66..4e743aa 100644 --- a/src/features/stat_next_to_name/index.js +++ b/src/features/stat_next_to_name/index.js @@ -76,7 +76,7 @@ class StatNextToName extends Feature { let keyValid = false let key = undefined new NonPooledThread(() => { - while (!this.FeatureManager.features["globalSettings"]?.class) { + while (!this.FeatureManager.features["globalSettings"] || !this.FeatureManager.features["globalSettings"].class) { Thread.sleep(1000) } diff --git a/src/metadata.json b/src/metadata.json index 359cfd6..74bbd2b 100644 --- a/src/metadata.json +++ b/src/metadata.json @@ -5,8 +5,8 @@ "entry": "index.js", "description": "SoopyV2", "name": "SoopyV2", - "version": "2.1.163", - "versionId": 290, + "version": "2.1.164", + "versionId": 291, "requires": [ "soopyApis", "soopyAddonsData", -- cgit