diff options
Diffstat (limited to 'features')
-rw-r--r-- | features/dataLoader/index.js | 2 | ||||
-rw-r--r-- | features/dungeonSolvers/index.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/features/dataLoader/index.js b/features/dataLoader/index.js index 01bc26c..27ab173 100644 --- a/features/dataLoader/index.js +++ b/features/dataLoader/index.js @@ -78,7 +78,7 @@ class DataLoader extends Feature { this.stats["Area"] = undefined this.stats["Dungeon"] = undefined - if(TabList && TabList.getNames()){ + if(World.getWorld() && TabList.getNames()){ TabList.getNames().forEach(n=>{ n = ChatLib.removeFormatting(n) if(n.includes(": ")){ 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() }) |