From 7b440adc0c06178fb8179382fb6bd02826831abb Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 8 Sep 2015 13:33:46 -0400 Subject: [PATCH] Fix putfield object/value order --- .../runelite/deob/attributes/code/instructions/PutField.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }