mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-08-04 03:46:57 -04:00
parent
696b9bd7ef
commit
dbf519b435
@ -153,7 +153,7 @@ public final class WorldBackupsPage extends ListPageBase<WorldBackupsPage.Backup
|
|||||||
count = Integer.parseInt(matcher.group("count"));
|
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) -> {
|
}).whenComplete(Schedulers.javafx(), (result, exception) -> {
|
||||||
if (exception == null) {
|
if (exception == null) {
|
||||||
WorldBackupsPage.this.getItems().add(result.getValue());
|
WorldBackupsPage.this.getItems().add(result.getValue());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user