mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 03:00:48 +00:00
more stringbuilders
This commit is contained in:
@@ -50,7 +50,7 @@ public class ActionSetVariable extends Action implements StoreTypeAction {
|
||||
public void translate(Stack<GraphTargetItem> stack, List<GraphTargetItem> output, java.util.HashMap<Integer, String> regNames, HashMap<String, GraphTargetItem> variables, HashMap<String, GraphTargetItem> functions, int staticOperation, String path) {
|
||||
GraphTargetItem value = stack.pop().getThroughDuplicate();
|
||||
GraphTargetItem name = stack.pop();
|
||||
variables.put(name.toStringNoQuotes(false, LocalData.create(null)), value);
|
||||
variables.put(name.toStringNoQuotes(LocalData.empty), value);
|
||||
if (value instanceof IncrementActionItem) {
|
||||
GraphTargetItem obj = ((IncrementActionItem) value).object;
|
||||
if (!stack.isEmpty()) {
|
||||
@@ -126,6 +126,6 @@ public class ActionSetVariable extends Action implements StoreTypeAction {
|
||||
if (stack.size() < 2) {
|
||||
return null;
|
||||
}
|
||||
return stack.get(stack.size() - 2).toStringNoQuotes(false, LocalData.create(cpool));
|
||||
return stack.get(stack.size() - 2).toStringNoQuotes(LocalData.create(cpool));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user