diff options
-rw-r--r-- | features/dataLoader/index.js | 2 | ||||
-rw-r--r-- | features/dungeonSolvers/index.js | 4 | ||||
-rw-r--r-- | index.js | 2 | ||||
-rw-r--r-- | metadata.json | 4 |
4 files changed, 6 insertions, 6 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() }) @@ -22,7 +22,7 @@ if(FileLib.read("soopyAddonsData", "deletesoopyv1please.txt") === "true"){ }else{ if(FileLib.read("soopyAddonsData", "firstload.txt") !== "true"){ new Thread(()=>{ - ChatLib.chat("&7Loading SoopyV2 required modules...") //idk what to say to chat, but it requires an extra ct load after starting to load stuff like mappings + ChatLib.chat("&7Loading SoopyV2 required modules...") //idk what to say to chat, but it requires an extra ct load after starting to load stuff like mappings (maby this should be part of mappings module, but i put it here so it doesent try to load the first load page thingo) FileLib.write("soopyAddonsData", "firstload.txt", "true") Thread.sleep(2000) diff --git a/metadata.json b/metadata.json index 6a97298..b58802b 100644 --- a/metadata.json +++ b/metadata.json @@ -5,8 +5,8 @@ "entry": "index.js", "description": "Soopy addons v2", "name": "SoopyV2", - "version": "2.1.24", - "versionId": 151, + "version": "2.1.25", + "versionId": 152, "requires": [ "soopyApis", "soopyAddonsData", |