diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/features/dungeonSolvers/index.js | 1 | ||||
-rw-r--r-- | src/features/mining/index.js | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/features/dungeonSolvers/index.js b/src/features/dungeonSolvers/index.js index 4472d95..96b303c 100644 --- a/src/features/dungeonSolvers/index.js +++ b/src/features/dungeonSolvers/index.js @@ -453,6 +453,7 @@ class DungeonSolvers extends Feature { } getBonzoMaskCooldown() { + if (!Player.getInventory()) return [...Player.getInventory().getItems()].forEach(i => { if (!i) return let itemName = i.getName() diff --git a/src/features/mining/index.js b/src/features/mining/index.js index 8060d19..96552d5 100644 --- a/src/features/mining/index.js +++ b/src/features/mining/index.js @@ -156,6 +156,13 @@ class Mining extends Feature { this.nextChEventElement.setText("&6Event&7> &f" + socketConnection.chEvent.join(" &7->&f ")) }) + this.registerCommand("soopyclearminingprofit", () => { + money = 0 + startingTime = -1 + lastMined = 0 + this.gemstoneMoneyHudElement.setText("") + ChatLib.chat(this.FeatureManager.messagePrefix + "Cleared gemstone profit data!") + }) let lastWorldChange = 0 |