aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-12 07:13:46 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-12 07:13:46 +0800
commit6a676a90affa66c25562d675cbcefa558c21f2ad (patch)
treeb73ae1ef087aaa56b179121adfe463ed00419bba
parentf8a0c81f37ff4f726ca18408c3d5772f0794d749 (diff)
downloadSoopyV2-6a676a90affa66c25562d675cbcefa558c21f2ad.tar.gz
SoopyV2-6a676a90affa66c25562d675cbcefa558c21f2ad.tar.bz2
SoopyV2-6a676a90affa66c25562d675cbcefa558c21f2ad.zip
fix bug
-rw-r--r--features/hud/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/hud/index.js b/features/hud/index.js
index b01d156..b042850 100644
--- a/features/hud/index.js
+++ b/features/hud/index.js
@@ -703,7 +703,7 @@ class Hud extends Feature {
}
updateHudThingos() {
- let insb = this.FeatureManager.features["dataLoader"].class.isInSkyblock
+ let insb = !!this.FeatureManager.features["dataLoader"]?.class?.isInSkyblock
this.hudStat.forEach(stat => {
if (stat.enabled.getValue()) {