Reset tickrate to 20.0f after timelapse ends

This commit is contained in:
Moulberry committed 2025-03-07 20:40:53 +08:00
1 parent efb97732df
commit 8552eb6e7e
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;