mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-21 05:42:15 +00:00
Attempt to handle references to anonymous inner classes
This commit is contained in:
1 parent
5048a431bc
commit
dcd44b91d2
7 files changed
+305
-12
No files matched your search
@@ -201,6 +201,7 @@ class MixinInfo extends TreeInfo implements Comparable<MixinInfo>, IMixinInfo {
|
||||
*/
|
||||
private void readTargets(List<ClassInfo> outTargets, List<String> inTargets, boolean suppressPlugin, boolean checkPublic) {
|
||||
for (String targetClassName : inTargets) {
|
||||
targetClassName = targetClassName.replace('/', '.');
|
||||
if (this.plugin == null || suppressPlugin || this.plugin.shouldApplyMixin(targetClassName, this.className)) {
|
||||
ClassInfo targetInfo = ClassInfo.forName(targetClassName);
|
||||
if (targetInfo.isInterface()) {
|
||||
|
||||
Reference in new issue
Block a user