Allow only applying mixins when mods aren't present
This commit is contained in:
parent
f488df2d45
commit
27c2a674cf
|
|
@ -112,7 +112,7 @@ public class ModernFixEarlyConfig {
|
||||||
if(annotation.values.get(i).equals("value")) {
|
if(annotation.values.get(i).equals("value")) {
|
||||||
String modId = (String)annotation.values.get(i + 1);
|
String modId = (String)annotation.values.get(i + 1);
|
||||||
if(modId != null) {
|
if(modId != null) {
|
||||||
requiredModPresent = modPresent(modId);
|
requiredModPresent = modId.startsWith("!") ? !modPresent(modId.substring(1)) : modPresent(modId);
|
||||||
requiredModId = modId;
|
requiredModId = modId;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user