Reset tickrate to 20.0f after timelapse ends

This commit is contained in:
Moulberry committed 2025-03-13 21:42:25 +08:00
1 parent b1a1c7f612
commit 056c3fc32b
1 file changed
+2
@@ -223,6 +223,8 @@ public class KeyframeTrack {
double tickrate = (double) (ceilEntry.getKey() - lowerEntry.getKey()) / (ceilTicks - lowerTicks) * 20;
return new KeyframeChangeTickrate((float) tickrate);
}
} else if (lowerEntry != null) {
return new KeyframeChangeTickrate(20.0f);
}
return null;