diff options
author | EmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com> | 2022-06-19 18:53:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-19 18:53:42 +0800 |
commit | 99e83ad049579f4247904626773f478cbf4e8da1 (patch) | |
tree | 3a31dc3f41b81ee63e2f5ee33e4556fd930ccffe /features | |
parent | aaa8bc2027f7eae1e009b0c27cb549bdbe715061 (diff) | |
download | SoopyV2-99e83ad049579f4247904626773f478cbf4e8da1.tar.gz SoopyV2-99e83ad049579f4247904626773f478cbf4e8da1.tar.bz2 SoopyV2-99e83ad049579f4247904626773f478cbf4e8da1.zip |
fix that m to M
- m
+ M
Diffstat (limited to 'features')
-rw-r--r-- | features/slayers/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js index 9855148..4135198 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -320,7 +320,7 @@ class Slayers extends Feature { if ((e[f.posX.Entity] - Player.getX()) ** 2 + (e[f.posY.Entity] - Player.getY()) ** 2 + (e[f.posZ.Entity] - Player.getZ()) ** 2 > 20) return let emanHealth = ChatLib.removeFormatting(e[m.getCustomNameTag]().split("Voidgloom Seraph")[1]) //only runs when t4's hp is <= 3m - if (emanHealth.includes("k") || (emanHealth.includes("m") && emanHealth.replace(/[^\d.]/g, "") <= 3)) { + if (emanHealth.includes("k") || (emanHealth.includes("M") && emanHealth.replace(/[^\d.]/g, "") <= 3)) { this.hideSummons = true } } @@ -447,7 +447,7 @@ class Slayers extends Feature { let emanText = "&6Enderman&7> " + (this.emanBoss.getName().split("Voidgloom Seraph")[1] || "").trim() let emanHealth = ChatLib.removeFormatting(this.emanBoss.getName().split("Voidgloom Seraph")[1]) //only runs when t4's hp is <= 3m - if (emanHealth.includes("k") || (emanHealth.includes("m") && emanHealth.replace(/[^\d.]/g, "") <= 3)) { + if (emanHealth.includes("k") || (emanHealth.includes("M") && emanHealth.replace(/[^\d.]/g, "") <= 3)) { this.hideSummons = true } if (this.rcmDaeAxeSupport.getValue()) { |