diff --git a/src/platforms/modrinth/modrinth-uploader.ts b/src/platforms/modrinth/modrinth-uploader.ts index 46f83a4..c3a8792 100644 --- a/src/platforms/modrinth/modrinth-uploader.ts +++ b/src/platforms/modrinth/modrinth-uploader.ts @@ -151,7 +151,7 @@ export class ModrinthUploader extends GenericPlatformUploader modrinthLoaders.find(y => IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER(x, y.name))) - .filter(x => x.supported_project_types?.includes(project.project_type)) + .filter(x => x?.supported_project_types.includes(project.project_type)) .map(x => x.name) .toArray(); }