兼容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");
|
return isClassPresent("cn.dancingsnow.bigger_ae2.BiggerAE2Mod");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static boolean isExpandedAePresent() {
|
||||||
|
return isClassPresent("lu.kolja.expandedae.ExpandedAE");
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onLoad(String mixinPackage) { }
|
public void onLoad(String mixinPackage) { }
|
||||||
|
|
||||||
|
|
@ -57,6 +61,12 @@ public class ExtendedAEPlusMixinPlugin implements IMixinConfigPlugin {
|
||||||
return false;
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user