mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-25 21:34:28 +00:00
AP: Fix several cases of ASM TypeHandles breaking code that relies on Mirror.
This commit is contained in:
1 parent
c33a48ba5e
commit
e5d9db491a
11 files changed
+110
-104
No files matched your search
@@ -176,7 +176,7 @@ class AnnotatedMixin implements IMixinContext, IAnnotatedElement {
|
||||
this.mappings = this.obf.createMappingConsumer();
|
||||
this.messager = ap;
|
||||
this.mixin = type;
|
||||
this.handle = new TypeHandle(type);
|
||||
this.handle = new TypeHandle(type, ap.getTypeProvider());
|
||||
this.methods = new ArrayList<MethodHandle>(this.handle.getMethods());
|
||||
this.virtual = this.handle.getAnnotation(Pseudo.class).exists();
|
||||
this.annotation = this.handle.getAnnotation(Mixin.class);
|
||||
|
||||
Reference in new issue
Block a user