fix: query for Fabric mods if Quilt is in use
Right now we want to include Fabric mods in our searches where possible. Modrinth allows definining multiple loaders, while Flame only allows a single value. As a compromise we ask for Fabric mods only on Flame and for both Fabric and Quilt mods on Modrinth.
This commit is contained in:
@ -54,6 +54,9 @@ class ModrinthAPI : public NetworkModAPI {
|
||||
{
|
||||
if (type == Unspecified)
|
||||
return "fabric, forge, quilt";
|
||||
// TODO: remove this once Quilt drops official Fabric support
|
||||
if (type == Quilt) // NOTE: Most if not all Fabric mods should work *currently*
|
||||
return "fabric, quilt";
|
||||
return ModAPI::getModLoaderString(type);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user