删除 ModpackSelectionPage.onChooseRemoteFile() 中的冗余 handler.resolve() (#5728)
This commit is contained in:
1 parent
67432bf614
commit
705f978c43
1 file changed
-2
@@ -144,8 +144,6 @@ public final class ModpackSelectionPage extends VBox implements WizardPage {
|
||||
// otherwise we still consider the file as modpack zip file
|
||||
// since casually the url may not ends with ".zip"
|
||||
Path modpack = Files.createTempFile("modpack", ".zip");
|
||||
handler.resolve();
|
||||
|
||||
Controllers.taskDialog(
|
||||
new FileDownloadTask(url, modpack)
|
||||
.whenComplete(Schedulers.javafx(), e -> {
|
||||
|
||||
Reference in new issue
Block a user