remove 'source file' validation (#671)

This commit is contained in:
Jamalam
2023-08-07 18:41:49 +00:00
committed by GitHub
parent e9f5bd4ac1
commit ae3a39ee65

View File

@@ -36,15 +36,6 @@ impl super::Validator for FabricValidator {
));
}
if !archive
.file_names()
.any(|name| name.ends_with("refmap.json") || name.ends_with(".class"))
{
return Ok(ValidationResult::Warning(
"Fabric mod file is a source file!",
));
}
Ok(ValidationResult::Pass)
}
}