mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-26 09:55:43 +00:00
Issue #197 AS1/2 missing storeregister before switch
This commit is contained in:
@@ -389,11 +389,6 @@ public class ActionGraph extends Graph {
|
||||
caseCommands.add(cc);
|
||||
}
|
||||
ret = new ArrayList<>();
|
||||
if (!output.isEmpty()) {
|
||||
if (output.get(output.size() - 1) instanceof StoreRegisterTreeItem) {
|
||||
output.remove(output.size() - 1);
|
||||
}
|
||||
}
|
||||
ret.addAll(output);
|
||||
SwitchItem sti = new SwitchItem(null, currentLoop, switchedObject, caseValues, caseCommands, defaultCommands, valuesMapping);
|
||||
ret.add(sti);
|
||||
|
||||
Reference in New Issue
Block a user