diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-01-23 22:21:23 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-01-23 22:21:23 +0800 |
commit | fe3449248bb556779fc1ef8ee216efeda43e8592 (patch) | |
tree | c96fe6a66e8f9ea7a519e1027572b3d8ae53e331 /features/globalSettings/index.js | |
parent | a0158cef8a59537145286ad96fd3daafc5238cf8 (diff) | |
download | SoopyV2-fe3449248bb556779fc1ef8ee216efeda43e8592.tar.gz SoopyV2-fe3449248bb556779fc1ef8ee216efeda43e8592.tar.bz2 SoopyV2-fe3449248bb556779fc1ef8ee216efeda43e8592.zip |
add error handling to registering forge event, and other fixes and cleanups
Diffstat (limited to 'features/globalSettings/index.js')
-rw-r--r-- | features/globalSettings/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js index 09daa6f..684561f 100644 --- a/features/globalSettings/index.js +++ b/features/globalSettings/index.js @@ -119,7 +119,7 @@ class Hud extends Feature { return "&a"+firstLetterCapital(dungeons)+": &b" + numberWithCommas(Math.round(sbData.data.profiles[sbData.data.stats.bestProfileId].members[userData.data.uuid].weight.dungeons[dungeons].total)) + " &7(" + numberWithCommas(Math.round(sbData.data.profiles[sbData.data.stats.bestProfileId].members[userData.data.uuid].weight.dungeons[dungeons].weight)) + " | " + numberWithCommas(Math.round(sbData.data.profiles[sbData.data.stats.bestProfileId].members[userData.data.uuid].weight.dungeons[dungeons].overflow)) + ")" }).filter(a=>a).join("\n"))).chat() if(sbData.data.stats.bestProfileId !== sbData.data.stats.currentProfileId){ - ChatLib.chat(userData.data.stats.nameWithPrefix + "'s senither weight (best profile):") + ChatLib.chat(userData.data.stats.nameWithPrefix + "'s senither weight (current profile):") ChatLib.chat("&aTotal: &b" + numberWithCommas(Math.round(sbData.data.profiles[sbData.data.stats.currentProfileId].members[userData.data.uuid].weight.total))) new Message(new TextComponent("&aSkills: &b" + numberWithCommas(Math.round(sbData.data.profiles[sbData.data.stats.currentProfileId].members[userData.data.uuid].weight.skill.total))) .setHover("show_text", Object.keys(sbData.data.profiles[sbData.data.stats.currentProfileId].members[userData.data.uuid].weight.skill).map(skill=>{ |