Implement replay folders & sorting

This commit is contained in:
Moulberry committed 2024-11-15 16:20:49 +08:00
1 parent 4ce99cd255
commit 155d3f9c3d
21 files changed
+1088 -566

No files matched your search

@@ -48,7 +48,7 @@ public class UnsupportedLoaderScreen extends Screen {
if (this.countdown == 0) {
var button = Button.builder(Component.literal("I Understand"), b -> {
Flashback.getConfig().nextUnsupportedModLoaderWarning = System.currentTimeMillis() + Duration.ofDays(7).toMillis();
Flashback.getConfig().saveToDefaultFolder();
Flashback.getConfig().delayedSaveToDefaultFolder();
Minecraft.getInstance().setScreen(this.lastScreen);
}).bounds((this.width - 150) / 2, buttonY, 150, 20).build();
this.addRenderableWidget(button);