aboutsummaryrefslogtreecommitdiff
path: root/src/features/specialMining/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/specialMining/index.js')
-rw-r--r--src/features/specialMining/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/features/specialMining/index.js b/src/features/specialMining/index.js
index e548b87..8b13ac3 100644
--- a/src/features/specialMining/index.js
+++ b/src/features/specialMining/index.js
@@ -192,7 +192,7 @@ class PowderAndScatha extends Feature {
if (this.chestUncoverAlertSound.getValue()) World.playSound("random.levelup", 1, 1);
})
- this.registerChat("&r&r&r${space}&r&b&l2X POWDER ${status}!&r", (space, status, e) => {
+ this.registerChat("${space}&r&b&l2X POWDER ${status}!&r", (space, status, e) => {
if (status.removeFormatting() === "STARTED") {
this.dPowder = Date.now() + 15 * 1000 * 60
} else this.dPowder = 0
@@ -385,6 +385,8 @@ class PowderAndScatha extends Feature {
});
}
+ if (Date.now() > this.dPowder) this.dPowder = 0
+
this.overlayLeft = []
this.overlayRight = []