aboutsummaryrefslogtreecommitdiff
path: root/src/features
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-22 14:20:46 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-22 14:20:46 +0800
commitc25141fb3cf06f5e86944eda239a3a29c9ca3dc3 (patch)
tree79d670d00308bef4271839971319c0e240b7e1a8 /src/features
parentce6dac24ef4dfb85283374dc3c8da461404f70fe (diff)
downloadSoopyV2-c25141fb3cf06f5e86944eda239a3a29c9ca3dc3.tar.gz
SoopyV2-c25141fb3cf06f5e86944eda239a3a29c9ca3dc3.tar.bz2
SoopyV2-c25141fb3cf06f5e86944eda239a3a29c9ca3dc3.zip
+ fix another bug D:
+meta
Diffstat (limited to 'src/features')
-rw-r--r--src/features/stat_next_to_name/index.js2
1 files changed, 1 insertions, 1 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)
}