aboutsummaryrefslogtreecommitdiff
path: root/features/dungeonSolvers/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-15 09:56:46 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-15 09:56:46 +0800
commit4116028c3c6c2d5571a9d278c6323add8e97b8e8 (patch)
treec7f72be482cf3c7014c70f7cc467eaaa64965edc /features/dungeonSolvers/index.js
parenteb6a98601a4d67e76267ef1a1068d5319f5a0d94 (diff)
downloadSoopyV2-4116028c3c6c2d5571a9d278c6323add8e97b8e8.tar.gz
SoopyV2-4116028c3c6c2d5571a9d278c6323add8e97b8e8.tar.bz2
SoopyV2-4116028c3c6c2d5571a9d278c6323add8e97b8e8.zip
potentially fix exp/hour and run/hour not tracking sometimes
Diffstat (limited to 'features/dungeonSolvers/index.js')
-rw-r--r--features/dungeonSolvers/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js
index 5a400a6..f56d8b5 100644
--- a/features/dungeonSolvers/index.js
+++ b/features/dungeonSolvers/index.js
@@ -65,7 +65,8 @@ class DungeonSolvers extends Feature {
this.lastDungFinishes = []
this.lastDungExps = []
- this.registerChat("&r&r&r &r&8+&r&3${exp} Catacombs Experience&r", (exp)=>{
+ this.registerChat("${start}+&r&3${exp} Catacombs Experience&r", (start, exp)=>{
+ if(ChatLib.removeFormatting(start).replace(/ /gi, "").length > 0) return
this.lastDungExps.push(parseFloat(exp.replace(/,/gi, "")))
if(this.lastDungExps.length > 5){
this.lastDungExps.shift()