Fix #3720: 修复备份文件路径被错误地设置为源世界的问题 (#3722)

This commit is contained in:
Glavo 2025-03-08 16:18:49 +08:00 committed by GitHub
parent 696b9bd7ef
commit dbf519b435
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -153,7 +153,7 @@ public final class WorldBackupsPage extends ListPageBase<WorldBackupsPage.Backup
count = Integer.parseInt(matcher.group("count"));
}
return Pair.pair(path, new BackupInfo(world.getFile(), new World(path), time, count));
return Pair.pair(path, new BackupInfo(path, new World(path), time, count));
}).whenComplete(Schedulers.javafx(), (result, exception) -> {
if (exception == null) {
WorldBackupsPage.this.getItems().add(result.getValue());