mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-25 22:44:44 +00:00
Fix: Resolve method references not being correctly remapped in initializers.
This commit is contained in:
1 parent
4d326c55ae
commit
755462cd1e
1 file changed
+2
-3
@@ -875,9 +875,8 @@ public class MixinTargetContext extends ClassContext implements IMixinContext {
|
||||
}
|
||||
|
||||
private void updateBinding(MethodNode method, MemberRef methodRef, Traversal traversal) {
|
||||
if (Constants.CTOR.equals(method.name)
|
||||
|| methodRef.getOwner().equals(this.getTarget().getClassRef())
|
||||
|| this.getTarget().getClassRef().startsWith("<")) {
|
||||
if (Constants.CTOR.equals(methodRef.getName())
|
||||
|| methodRef.getOwner().equals(this.getTarget().getClassRef())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user