mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-27 15:33:19 +00:00
Fixed incorrect stack map frames
This commit is contained in:
1 parent
2c44a81495
commit
4d0428c380
1 file changed
+3
-3
@@ -53,10 +53,10 @@ public class MixinClassWriter extends ClassWriter {
|
||||
ClassInfo d = ClassInfo.forName(type2);
|
||||
|
||||
if (c.hasSuperClass(d)) {
|
||||
return type1;
|
||||
return type2;
|
||||
}
|
||||
if (d.hasSuperClass(c)) {
|
||||
return type2;
|
||||
return type1;
|
||||
}
|
||||
if (c.isInterface() || d.isInterface()) {
|
||||
return MixinClassWriter.JAVA_LANG_OBJECT;
|
||||
@@ -68,7 +68,7 @@ public class MixinClassWriter extends ClassWriter {
|
||||
return MixinClassWriter.JAVA_LANG_OBJECT;
|
||||
}
|
||||
|
||||
} while (!c.hasSuperClass(d));
|
||||
} while (!d.hasSuperClass(c));
|
||||
|
||||
return c.getName();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user