From 8c11b0b4d89b1d340bdd620d96e5127c05c2e066 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Tue, 21 Mar 2023 12:31:10 +0100 Subject: [PATCH] chore: updated insnnodes to match --- src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java | 6 +++--- .../java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java b/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java index 896dc42..d23686d 100644 --- a/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java +++ b/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java @@ -19,9 +19,9 @@ public class FieldProxyInsnNode extends FieldInsnNode { public FieldProxyInsnNode(int opcode, FieldProxy f) { super( opcode, - f.getParent().replace('.', '/'), - f.getName(), - f.getDescriptor() + f.parent.replace('.', '/'), + f.name, + f.type.getDescriptor() ); } } diff --git a/src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java b/src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java index 63196fd..904615d 100644 --- a/src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java +++ b/src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java @@ -20,9 +20,9 @@ public class MethodProxyInsnNode extends MethodInsnNode { public MethodProxyInsnNode(int opcode, MethodProxy m) { super( opcode, - m.getParent().replace('.', '/'), - m.getName(), - m.getDescriptor() + m.parent.replace('.', '/'), + m.name, + m.type.getDescriptor() ); } }