From f724d7e9f5ec6d5e2f004a240f5117a41a752dc8 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Tue, 1 Feb 2022 07:40:06 +0800 Subject: fix null pointer exception + metadata update --- features/dungeonSolvers/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'features/dungeonSolvers') 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() }) -- cgit