diff --git a/common/src/main/java/sereneseasons/season/SeasonHandler.java b/common/src/main/java/sereneseasons/season/SeasonHandler.java index 7d6ee4e..0ba658d 100644 --- a/common/src/main/java/sereneseasons/season/SeasonHandler.java +++ b/common/src/main/java/sereneseasons/season/SeasonHandler.java @@ -62,6 +62,11 @@ public static void onLevelTick(TickEvent.Level event) if (difference == 0) return; + if (difference < 0) + { + difference += 24000L; + } + SeasonSavedData savedData = getSeasonSavedData(level); savedData.seasonCycleTicks = Mth.positiveModulo(savedData.seasonCycleTicks + (int)difference, SeasonTime.ZERO.getCycleDuration());