aboutsummaryrefslogtreecommitdiff
path: root/features/hud
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-15 20:59:12 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-15 20:59:12 +0800
commit6476b47e9e0871fb8e5798f410c94b9c2873239f (patch)
tree99ec899645a1443cbe0e623f557d618502d18fad /features/hud
parent6e7cbfc402f932a8a125d822c66ab12b7d25fec4 (diff)
downloadSoopyV2-6476b47e9e0871fb8e5798f410c94b9c2873239f.tar.gz
SoopyV2-6476b47e9e0871fb8e5798f410c94b9c2873239f.tar.bz2
SoopyV2-6476b47e9e0871fb8e5798f410c94b9c2873239f.zip
+ fix soulflow counter for some people
+ slugfish timer + show number of people using each soopyv2 version in changelog
Diffstat (limited to 'features/hud')
-rw-r--r--features/hud/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/hud/index.js b/features/hud/index.js
index 9657f06..c6254d4 100644
--- a/features/hud/index.js
+++ b/features/hud/index.js
@@ -558,7 +558,7 @@ class Hud extends Feature {
this.lastStatData._soulflow += parseInt(ChatLib.removeFormatting(line.split(` `)[0]).replace(/[^0-9]/g, ""))
isSoulflowCounting = !line.endsWith(`Soulflow"`)
}
- if (line.startsWith(`display:{Lore:[0:"§7Internalized:`)) {
+ if (line.startsWith(`display:{Lore:[0:"§7Internalized:`) || line.startsWith(`4:"§7Internalized:`)) {
isSoulflowCounting = !line.endsWith(`Soulflow"`)
this.lastStatData._soulflow = parseInt(ChatLib.removeFormatting(line.split(`"§7Internalized: `)[1]))