From 8016fca7343de58e1b68508793f2a6ad3b97d221 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sat, 4 Jun 2022 14:01:32 +0800 Subject: make day counter 2dp --- features/hud/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/hud/index.js') 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() -- cgit