From 18d23fb754169c14428ac82df3d8b8f7a52a7aeb Mon Sep 17 00:00:00 2001 From: Steveplays28 Date: Sun, 1 Oct 2023 23:06:06 +0200 Subject: [PATCH] fix: Increase `WAKE_UP_TIME` The wake up time is now set to the vanilla wake up time, minus one. This ensures the dawn message doesn't get sent too early. --- .../java/com/github/steveplays28/realisticsleep/SleepMath.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/steveplays28/realisticsleep/SleepMath.java b/src/main/java/com/github/steveplays28/realisticsleep/SleepMath.java index 7e0b2b2..47c5acc 100644 --- a/src/main/java/com/github/steveplays28/realisticsleep/SleepMath.java +++ b/src/main/java/com/github/steveplays28/realisticsleep/SleepMath.java @@ -4,7 +4,7 @@ public class SleepMath { public static final int DAY_LENGTH = 24000; - public static final int WAKE_UP_TIME = 23000; + public static final int WAKE_UP_TIME = 23449; public static double calculateNightTimeStepPerTick(double sleepingRatio, double multiplier, double lastTimeStepPerTick) { return switch (config.sleepSpeedCurve) {