fix: missing arg in error

This commit is contained in:
HerozDotExe 2026-03-17 19:09:33 +01:00
parent a75962e661
commit ddba863da5

View file

@ -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();
}