aboutsummaryrefslogtreecommitdiff
path: root/features/specialMining
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-28 16:25:34 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-28 16:25:34 +0800
commitf2f8ef40e1c9dceeee0b94a5e5721adbeee96678 (patch)
treec068eea67b319b4bfd353783433a36134dbff0a6 /features/specialMining
parent0d5c5d91f14a578eb9956ed8e43e249f4740db0b (diff)
downloadSoopyV2-f2f8ef40e1c9dceeee0b94a5e5721adbeee96678.tar.gz
SoopyV2-f2f8ef40e1c9dceeee0b94a5e5721adbeee96678.tar.bz2
SoopyV2-f2f8ef40e1c9dceeee0b94a5e5721adbeee96678.zip
remove debug messages + fix duplicated messages from guild feature + [hand]
Diffstat (limited to 'features/specialMining')
-rw-r--r--features/specialMining/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/specialMining/index.js b/features/specialMining/index.js
index 2694427..7bd91be 100644
--- a/features/specialMining/index.js
+++ b/features/specialMining/index.js
@@ -219,7 +219,7 @@ class PowderAndScatha extends Feature {
if (this.PowderElement.getValue() && this.inCrystalHollows) {
this.overlayLeft.push(`&b2x Powder:`)
- this.overlayRight.push(this.dPowder ? "&a" + timeNumber(this.dPowder - Date.now()) : "&cINACTIVE")
+ this.overlayRight.push(this.dPowder ? "&a" + timeNumber(Math.max(0, this.dPowder - Date.now())) : "&cINACTIVE")
if (this.miningData.powder.chests) {
let c = this.miningData.powder.chests