fix: missing arg in error
This commit is contained in:
parent
a75962e661
commit
ddba863da5
1 changed files with 2 additions and 1 deletions
|
|
@ -58,7 +58,8 @@ async function downloadJar(
|
|||
});
|
||||
}
|
||||
} catch (original) {
|
||||
const error = new InstallError("modloader", original, "Check that the version of the modloader exists.");
|
||||
//@ts-expect-error no access to instance
|
||||
const error = new InstallError("modloader", null, original, "Check that the version of the modloader exists.");
|
||||
error.throw();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue