Allow only applying mixins when mods aren't present

This commit is contained in:
embeddedt 2023-08-09 13:16:51 -04:00
parent f488df2d45
commit 27c2a674cf
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -112,7 +112,7 @@ public class ModernFixEarlyConfig {
if(annotation.values.get(i).equals("value")) {
String modId = (String)annotation.values.get(i + 1);
if(modId != null) {
requiredModPresent = modPresent(modId);
requiredModPresent = modId.startsWith("!") ? !modPresent(modId.substring(1)) : modPresent(modId);
requiredModId = modId;
}
break;