diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-04 14:01:32 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-04 14:01:32 +0800 |
commit | 8016fca7343de58e1b68508793f2a6ad3b97d221 (patch) | |
tree | 8f89e56dfcf8f47fdce52bdc1f6bedc4a435ec03 /features/hud/index.js | |
parent | ae748a62f6424b0ac2604c2cceb551b0ca5742b2 (diff) | |
download | SoopyV2-8016fca7343de58e1b68508793f2a6ad3b97d221.tar.gz SoopyV2-8016fca7343de58e1b68508793f2a6ad3b97d221.tar.bz2 SoopyV2-8016fca7343de58e1b68508793f2a6ad3b97d221.zip |
make day counter 2dp
Diffstat (limited to 'features/hud/index.js')
-rw-r--r-- | features/hud/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/hud/index.js b/features/hud/index.js index a657eb7..5425f1f 100644 --- a/features/hud/index.js +++ b/features/hud/index.js @@ -304,7 +304,7 @@ class Hud extends Feature { } step_1second() { - if (World.getTime() !== 0) this.lobbyDayElement.setText("&6Day&7> &f" + (World.getTime() / 20 / 60 / 20).toFixed(1)) + if (World.getTime() !== 0) this.lobbyDayElement.setText("&6Day&7> &f" + (World.getTime() / 20 / 60 / 20).toFixed(2)) if (!this.lagEnabled.getValue()) { if (this.packetReceived) this.packetReceived.unregister() |