mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-18 07:31:58 +00:00
Issue 10, Missing default code block when missing break
This commit is contained in:
@@ -1313,7 +1313,7 @@ public HashMap<Integer,String> getLocalRegNamesFromDebug(ABC abc){
|
||||
if (evalTo == -1)
|
||||
subend--;
|
||||
List commands = toSource(isStatic, classIndex, localRegs, new Stack<TreeItem>(), scopeStack, abc, constants, method_info, body, substart, subend).output;
|
||||
if ((evalTo == -1) && (casePos < code.get(switchPos).operands.length - 2)) {
|
||||
if ((evalTo == -1) && (casePos + 1< code.get(switchPos).operands.length - 2)) {
|
||||
if (commands.size() == 1) {
|
||||
commands.remove(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user