mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 02:00:49 +00:00
better duplicate handling
This commit is contained in:
@@ -44,7 +44,7 @@ public class ActionSetVariable extends Action {
|
||||
|
||||
@Override
|
||||
public void translate(Stack<GraphTargetItem> stack, List<GraphTargetItem> output, java.util.HashMap<Integer, String> regNames, HashMap<String, GraphTargetItem> variables, HashMap<String, GraphTargetItem> functions) {
|
||||
GraphTargetItem value = stack.pop();
|
||||
GraphTargetItem value = stack.pop().getThroughDuplicate();
|
||||
GraphTargetItem name = stack.pop();
|
||||
variables.put(Highlighting.stripHilights(name.toStringNoQuotes((ConstantPool) null)), value);
|
||||
if (value instanceof IncrementTreeItem) {
|
||||
|
||||
Reference in New Issue
Block a user