aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-04 14:01:32 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-04 14:01:32 +0800
commit8016fca7343de58e1b68508793f2a6ad3b97d221 (patch)
tree8f89e56dfcf8f47fdce52bdc1f6bedc4a435ec03
parentae748a62f6424b0ac2604c2cceb551b0ca5742b2 (diff)
downloadSoopyV2-8016fca7343de58e1b68508793f2a6ad3b97d221.tar.gz
SoopyV2-8016fca7343de58e1b68508793f2a6ad3b97d221.tar.bz2
SoopyV2-8016fca7343de58e1b68508793f2a6ad3b97d221.zip
make day counter 2dp
-rw-r--r--features/globalSettings/index.js2
-rw-r--r--features/hud/index.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index 8ece6f8..00ec0ca 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -110,7 +110,7 @@ class GlobalSettings extends Feature {
this.soopyWeight(user)
})
this.registerCommand("lobbyday", () => {
- ChatLib.chat(this.FeatureManager.messagePrefix + "Current lobby is day " + (World.getTime() / 20 / 60 / 20).toFixed(1))
+ ChatLib.chat(this.FeatureManager.messagePrefix + "Current lobby is day " + (World.getTime() / 20 / 60 / 20).toFixed(2))
})
this.lastCookies = 0
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()