diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-10-06 13:49:36 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-10-06 13:49:36 +0800 |
commit | 26996a65c93de407e4a12403f967b722a6dbf710 (patch) | |
tree | d7c2a88caded77af66f380deaef8473b41523323 /src/features/mining/index.js | |
parent | f764220a8e375286acaf028b78a09bccf23b9122 (diff) | |
download | SoopyV2-26996a65c93de407e4a12403f967b722a6dbf710.tar.gz SoopyV2-26996a65c93de407e4a12403f967b722a6dbf710.tar.bz2 SoopyV2-26996a65c93de407e4a12403f967b722a6dbf710.zip |
+ command to clear gemstone money rate
Diffstat (limited to 'src/features/mining/index.js')
-rw-r--r-- | src/features/mining/index.js | 7 |
1 files changed, 7 insertions, 0 deletions
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 |