fix: check for Quilt as Fabric-compatible loader
This commit is contained in:
parent
74cdf5350d
commit
35cfb41a9c
11 changed files with 54 additions and 18 deletions
|
@ -55,11 +55,13 @@ class ModrinthAPI : public NetworkModAPI {
|
|||
{
|
||||
switch (modLoader) {
|
||||
case Any:
|
||||
return "fabric, forge";
|
||||
return "fabric, forge, quilt";
|
||||
case Forge:
|
||||
return "forge";
|
||||
case Fabric:
|
||||
return "fabric";
|
||||
case Quilt:
|
||||
return "quilt";
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
|
@ -67,7 +69,7 @@ class ModrinthAPI : public NetworkModAPI {
|
|||
|
||||
inline auto validateModLoader(ModLoaderType modLoader) const -> bool
|
||||
{
|
||||
return modLoader == Any || modLoader == Forge || modLoader == Fabric;
|
||||
return modLoader == Any || modLoader == Forge || modLoader == Fabric || modLoader == Quilt;
|
||||
}
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue