mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-21 03:22:17 +00:00
Fix Interface Checker logic for java 8
This commit is contained in:
1 parent
50b9deff2a
commit
a16bcf3dd9
1 file changed
+2
-1
+2
-1
@@ -125,7 +125,8 @@ public class MixinTransformerModuleInterfaceChecker implements IMixinTransformer
|
||||
for (Method method : interfaceMethods) {
|
||||
Method found = targetClassInfo.findMethodInHierarchy(method.getName(), method.getDesc(), true, Traversal.ALL);
|
||||
|
||||
if (found != null) {
|
||||
// If method IS found and IS implemented, then do nothing (don't print an error)
|
||||
if (found != null && !found.isAbstract()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user