mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 03:44:54 +00:00
#1183 Index out of bounds fix
This commit is contained in:
@@ -303,7 +303,7 @@ public class ActionGraph extends Graph {
|
||||
part = part.nextParts.get(1);
|
||||
//caseBodyParts.add(part);
|
||||
GraphPart defaultPart = part;
|
||||
if (code.get(defaultPart.start) instanceof ActionJump) {
|
||||
if (code.size() > defaultPart.start && code.get(defaultPart.start) instanceof ActionJump) {
|
||||
defaultPart = defaultPart.nextParts.get(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user