diff --git a/src/platforms/modrinth/modrinth-uploader.ts b/src/platforms/modrinth/modrinth-uploader.ts index a6badf7..3ece999 100644 --- a/src/platforms/modrinth/modrinth-uploader.ts +++ b/src/platforms/modrinth/modrinth-uploader.ts @@ -51,7 +51,7 @@ export class ModrinthUploader extends GenericPlatformUploader { const api = new ModrinthApiClient({ token: request.token.unwrap() }); - const unfeatureMode = request.unfeatureMode ?? request.featured ? ModrinthUnfeatureMode.SUBSET : ModrinthUnfeatureMode.NONE; + const unfeatureMode = request.unfeatureMode ?? (request.featured ? ModrinthUnfeatureMode.SUBSET : ModrinthUnfeatureMode.NONE); const project = await this.getProject(request.id, api); const version = await this.createVersion(request, project, api); @@ -97,15 +97,16 @@ export class ModrinthUploader extends GenericPlatformUploader