diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-02-05 15:57:58 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-02-05 15:57:58 +0800 |
commit | a710ce9c523c2e15f5aecf210c6a6f055263a067 (patch) | |
tree | a97449cf279de73e24762e77aed2e81f525b027e | |
parent | 48fbd6fd0167455490a37ff00ed68a9ff7ce02d6 (diff) | |
download | SoopyV2-a710ce9c523c2e15f5aecf210c6a6f055263a067.tar.gz SoopyV2-a710ce9c523c2e15f5aecf210c6a6f055263a067.tar.bz2 SoopyV2-a710ce9c523c2e15f5aecf210c6a6f055263a067.zip |
make blaze solver setting actually work
-rw-r--r-- | features/dungeonSolvers/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js index f6e5583..427f78d 100644 --- a/features/dungeonSolvers/index.js +++ b/features/dungeonSolvers/index.js @@ -196,7 +196,7 @@ class DungeonSolvers extends Feature { }); } - if(this.blazeX !== -1 && this.blazes.length > 0){ + if(this.blazeX !== -1 && this.blazes.length > 0 && this.blazeSolver.getValue()){ renderUtils.drawBoxAtEntity(this.blazes[0], 255, 0, 0, 1, 2, ticks, 2) let lastLoc = [this.blazes[0].getX(), this.blazes[0].getY()+1.5, this.blazes[0].getZ()] @@ -437,7 +437,7 @@ class DungeonSolvers extends Feature { let lastHp = -1 this.blazes.forEach(b=>{ if(b.getEntity().func_110143_aJ() === lastHp){ - ChatLib.chat(this.FeatureManager.messagePrefix + "&cWARNING: Detected 2 blazes with the same hp. (" + lastHp + "," + b.getEntity().func_110143_aJ() + ")") + if(this.blazeSolver.getValue())ChatLib.chat(this.FeatureManager.messagePrefix + "&cWARNING: Detected 2 blazes with the same hp. (" + lastHp + "," + b.getEntity().func_110143_aJ() + ")") } lastHp = b.getEntity().func_110143_aJ() }) |