diff options
Diffstat (limited to 'features/events')
-rw-r--r-- | features/events/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/events/index.js b/features/events/index.js index de5d119..847de49 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -231,7 +231,7 @@ class Events extends Feature { let mythMobs = [] this.todoE.forEach(e => { e = new Entity(e) - let health = e.getName().removeFormatting().split(" ")[4].split("/")[0] + let health = e.getName().removeFormatting().split(" ")[4]?.split("/")[0] if (this.MythMobsHP.getValue() && health != 0 && (e.getName().removeFormatting().includes("Exalted") || e.getName().removeFormatting().includes("Stalwart"))) { mythMobs.push(e.getName()) } |