Implement replay folders & sorting

This commit is contained in:
Moulberry committed 2024-11-17 02:18:26 +08:00
1 parent 44794e4edd
commit 1a17640856
21 files changed
+1088 -565

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);