兼容expandedae
This commit is contained in:
parent
63494cfdf5
commit
47d3feb653
|
|
@ -34,6 +34,10 @@ public class ExtendedAEPlusMixinPlugin implements IMixinConfigPlugin {
|
|||
return isClassPresent("cn.dancingsnow.bigger_ae2.BiggerAE2Mod");
|
||||
}
|
||||
|
||||
private static boolean isExpandedAePresent() {
|
||||
return isClassPresent("lu.kolja.expandedae.ExpandedAE");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoad(String mixinPackage) { }
|
||||
|
||||
|
|
@ -57,6 +61,12 @@ public class ExtendedAEPlusMixinPlugin implements IMixinConfigPlugin {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
if (isExpandedAePresent()) {
|
||||
if (mixinClassName.equals("com.extendedae_plus.mixin.ae2.autopattern.PatternProviderLogicContainsRedirectMixin") ||
|
||||
mixinClassName.equals("com.extendedae_plus.mixin.ae2.autopattern.AdvPatternProviderLogicContainsRedirectMixin")) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user