mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-22 01:32:12 +00:00
AP resolves method mappings in superclasses when direct mapping fails
This commit is contained in:
1 parent
f1f60c3ee8
commit
d8c4f6f0a7
10 files changed
+269
-50
No files matched your search
+1
-1
@@ -100,7 +100,7 @@ class AnnotatedMixinElementHandlerOverwrite extends AnnotatedMixinElementHandler
|
||||
}
|
||||
|
||||
private boolean registerOverwriteForTarget(AnnotatedElementOverwrite elem, TypeHandle target) {
|
||||
MappingMethod targetMethod = new MappingMethod(target.getName(), elem.getSimpleName(), elem.getDesc());
|
||||
MappingMethod targetMethod = target.getMappingMethod(elem.getSimpleName(), elem.getDesc());
|
||||
ObfuscationData<MappingMethod> obfData = this.obf.getDataProvider().getObfMethod(targetMethod);
|
||||
|
||||
if (obfData.isEmpty()) {
|
||||
|
||||
Reference in new issue
Block a user