aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorEmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com>2022-08-30 20:47:10 +0800
committerGitHub <noreply@github.com>2022-08-30 20:47:10 +0800
commitf465651af23210fcedb4871ea57f408ca8945262 (patch)
tree85476d898fd8413bf428333283e91f5614526e0d /features
parent1d10c2795e60b33745a4e726779c90a2cab4f96b (diff)
downloadSoopyV2-f465651af23210fcedb4871ea57f408ca8945262.tar.gz
SoopyV2-f465651af23210fcedb4871ea57f408ca8945262.tar.bz2
SoopyV2-f465651af23210fcedb4871ea57f408ca8945262.zip
up to date
Diffstat (limited to 'features')
-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 ce95dd1..794b9ca 100644
--- a/features/specialMining/index.js
+++ b/features/specialMining/index.js
@@ -288,7 +288,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