diff options
Diffstat (limited to 'src/features/stat_next_to_name/index.js')
-rw-r--r-- | src/features/stat_next_to_name/index.js | 2 |
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) } |