diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-08-10 21:24:10 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-08-10 21:24:10 +0800 |
commit | f8a0c81f37ff4f726ca18408c3d5772f0794d749 (patch) | |
tree | 8bb91f1177b5a7a4f85984dc47ff1a6a6ce8b59b /features/networthGUI/index.js | |
parent | 32367f35133cc3f4583d2bf42ea2e5777c3ac46c (diff) | |
download | SoopyV2-f8a0c81f37ff4f726ca18408c3d5772f0794d749.tar.gz SoopyV2-f8a0c81f37ff4f726ca18408c3d5772f0794d749.tar.bz2 SoopyV2-f8a0c81f37ff4f726ca18408c3d5772f0794d749.zip |
fix enchant thing + tall gui + meta
Diffstat (limited to 'features/networthGUI/index.js')
-rw-r--r-- | features/networthGUI/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/networthGUI/index.js b/features/networthGUI/index.js index 7ba2394..d4858b2 100644 --- a/features/networthGUI/index.js +++ b/features/networthGUI/index.js @@ -226,12 +226,12 @@ class NetworthPage extends GuiPage { this.leaderboardArea.clearChildren() data.data.data.forEach((user, i) => { this.leaderboardArea.addChild( - new SoopyTextElement().setText("§0#" + numberWithCommas(i + 1 + page * 100) + ": " + user.username).setMaxTextScale(1.5).setLocation(0.05, i * 0.1, 0.5, 0.1).setLore(["Click to show detailed stats"]).addEvent(new SoopyMouseClickEvent().setHandler(() => { + new SoopyTextElement().setText("§0#" + numberWithCommas(i + 1 + page * 100) + ": " + user.username).setMaxTextScale(1.5).setLocation(0.05, i * 0.05, 0.5, 0.05).setLore(["Click to show detailed stats"]).addEvent(new SoopyMouseClickEvent().setHandler(() => { this.updateData(user.uuid) })) ) this.leaderboardArea.addChild( - new SoopyTextElement().setText("§2$" + numberWithCommas(Math.round(user.networth)).replace(/,/g, "§7,§2")).setMaxTextScale(1.5).setLocation(0.6, i * 0.1, 0.35, 0.1) + new SoopyTextElement().setText("§2$" + numberWithCommas(Math.round(user.networth)).replace(/,/g, "§7,§2")).setMaxTextScale(1.5).setLocation(0.6, i * 0.05, 0.35, 0.05) ) }) }) |