aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/features/stat_next_to_name/index.js2
-rw-r--r--src/metadata.json4
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",