diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-28 10:00:15 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-28 10:00:15 +0800 |
commit | d017ab83bb7ffbc10e7cde0014116464c725f37f (patch) | |
tree | db53598b784326f884b2bfb5c79e0f135dfef044 /features/events | |
parent | 83036d85a38729adf8fad5bc9bf38a06c183adf0 (diff) | |
download | SoopyV2-d017ab83bb7ffbc10e7cde0014116464c725f37f.tar.gz SoopyV2-d017ab83bb7ffbc10e7cde0014116464c725f37f.tar.bz2 SoopyV2-d017ab83bb7ffbc10e7cde0014116464c725f37f.zip |
+ fix gemstone $/h from when i made it show both hours and minuites (i love not testing updates BatChamp)
Diffstat (limited to 'features/events')
-rw-r--r-- | features/events/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/events/index.js b/features/events/index.js index e3decc5..d1a075d 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -382,7 +382,7 @@ class Events extends Feature { }) } - if (!this.potentialParticleLocs[locstr]) this.potentialParticleLocs[locstr] = { enchant: 0, crit: 0, step: 0, isMob: 0, timestamp: Date.now() } + if (!this.potentialParticleLocs[locstr] || Date.now() - this.potentialParticleLocs[locstr].timestamp > 30000) this.potentialParticleLocs[locstr] = { enchant: 0, crit: 0, step: 0, isMob: 0, timestamp: Date.now() } if (foundEnchant) this.potentialParticleLocs[locstr].enchant++ if (foundCrit) this.potentialParticleLocs[locstr].crit++ |