diff options
-rw-r--r-- | features/dungeonMap/index.js | 1 | ||||
-rw-r--r-- | features/hud/index.js | 2 | ||||
-rw-r--r-- | features/mining/index.js | 7 | ||||
-rw-r--r-- | metadata.json | 4 |
4 files changed, 8 insertions, 6 deletions
diff --git a/features/dungeonMap/index.js b/features/dungeonMap/index.js index bdaaf23..9c28fd9 100644 --- a/features/dungeonMap/index.js +++ b/features/dungeonMap/index.js @@ -95,6 +95,7 @@ class DungeonMap extends Feature { this.bloodOpened = false this.registerChat("&r&cThe &r&c&lBLOOD DOOR&r&c has been opened!&r", () => { this.bloodOpened = true + this.keys-- }) this.registerChat("&r${*}&r&f &r&ehas obtained &r&a&r&${*} Key&r&e!&r", () => { diff --git a/features/hud/index.js b/features/hud/index.js index c6254d4..f375d41 100644 --- a/features/hud/index.js +++ b/features/hud/index.js @@ -458,7 +458,7 @@ class Hud extends Feature { if (Date.now() - this.lastSwappedPet > 1000) { inv[i].getLore().forEach(line => { - if (line.includes("Click to despawn.")) { + if (line.includes("Click to despawn!")) { this.petElement.setText("&6Pet&7> &7" + inv[i].getName().split("(")[0]) this.petText = "&6Pet&7> &7" + inv[i].getName().split("(")[0] } diff --git a/features/mining/index.js b/features/mining/index.js index b8eb9c9..dec8728 100644 --- a/features/mining/index.js +++ b/features/mining/index.js @@ -76,7 +76,7 @@ class Mining extends Feature { this.armourstandClass = Java.type("net.minecraft.entity.item.EntityArmorStand").class - this.registerEvent("renderOverlay", this.renderOverlay).registeredWhen(() => this.balRespawnHud.getValue() || this.compactProgressHud.getValue()) + this.registerEvent("renderOverlay", this.renderOverlay).registeredWhen(() => this.balRespawnHud.getValue() || this.compactProgressHud.getValue() || this.gemstoneMoneyHud.getValue()) this.registerEvent("tick", this.tick) this.registerEvent("itemTooltip", this.itemTooltipEvent).registeredWhen(() => this.showContainedGemstoneSlots.getValue() || this.showUnlockedGemstoneSlots.getValue()) this.registerEvent("renderWorld", this.renderWorld).registeredWhen(() => this.guessBalHp.getValue()) @@ -104,7 +104,8 @@ class Mining extends Feature { let money = 0 let gemstoneCosts = {} let lastMined = 0 - this.registerChat("&r&d&lPRISTINE! &r&fYou found &r${*} &r&aFlawed ${type} Gemstone &r&8x${num}&r&f!&r", (type, num) => { + this.registerChat("&r&d&lPRISTINE! &r&fYou found &r${*} &r&aFlawed ${type} Gemstone &r&8x${num}&r&f!&r", (type, num, event) => { + let id = "FLAWED_" + type.toUpperCase() + "_GEM" let number = parseInt(num) @@ -136,7 +137,7 @@ class Mining extends Feature { this.gemstoneMoneyHudElement.setText("&6$/h&7> &f$" + numberWithCommas(moneyPerHour) + "\n&6$ made&7> &f$" + numberWithCommas(moneyMade) + "\n&6Time tracked&7> &f" + timeTracked) }) - this.registerStep(false, 30, () => { + this.registerStep(false, 10, () => { if (lastMined && Date.now() - lastMined > 60000) { money = 0 startingTime = -1 diff --git a/metadata.json b/metadata.json index 7fd48da..b4402c4 100644 --- a/metadata.json +++ b/metadata.json @@ -5,8 +5,8 @@ "entry": "index.js", "description": "SoopyV2", "name": "SoopyV2", - "version": "2.1.86", - "versionId": 213, + "version": "2.1.87", + "versionId": 214, "requires": [ "soopyApis", "soopyAddonsData", |