aboutsummaryrefslogtreecommitdiff
path: root/features/dungeonSolvers
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-02-01 07:40:06 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-02-01 07:40:06 +0800
commitf724d7e9f5ec6d5e2f004a240f5117a41a752dc8 (patch)
tree1a9248bfb91b54ae2baf5a1aa291028d00e82995 /features/dungeonSolvers
parentc99a5f49a423629dfd347c183dae611ea04bfd44 (diff)
downloadSoopyV2-f724d7e9f5ec6d5e2f004a240f5117a41a752dc8.tar.gz
SoopyV2-f724d7e9f5ec6d5e2f004a240f5117a41a752dc8.tar.bz2
SoopyV2-f724d7e9f5ec6d5e2f004a240f5117a41a752dc8.zip
fix null pointer exception + metadata update
Diffstat (limited to 'features/dungeonSolvers')
-rw-r--r--features/dungeonSolvers/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js
index f128d42..f6e5583 100644
--- a/features/dungeonSolvers/index.js
+++ b/features/dungeonSolvers/index.js
@@ -148,7 +148,7 @@ class DungeonSolvers extends Feature {
// this.arrows.push(new Entity(event.entity))
// }
if(event.entity instanceof EntityBlaze){
- console.log("Blaze joined world")
+ // console.log("Blaze joined world")
this.addBlaze(new Entity(event.entity))
}
}
@@ -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 + ")")
+ 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()
})