diff --git a/src/main/java/net/runelite/deob/attributes/code/instructions/PutField.java b/src/main/java/net/runelite/deob/attributes/code/instructions/PutField.java index 400cc99524..fb89440883 100644 --- a/src/main/java/net/runelite/deob/attributes/code/instructions/PutField.java +++ b/src/main/java/net/runelite/deob/attributes/code/instructions/PutField.java @@ -43,9 +43,9 @@ public class PutField extends Instruction implements SetFieldInstruction InstructionContext ins = new InstructionContext(this, frame); Stack stack = frame.getStack(); - StackContext object = stack.pop(); StackContext value = stack.pop(); - ins.pop(object, value); + StackContext object = stack.pop(); + ins.pop(value, object); frame.addInstructionContext(ins); }