mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-03 09:44:18 +00:00
Issue #382 AS3: Adding new trait
This commit is contained in:
@@ -1069,6 +1069,9 @@ public class AVM2Code implements Serializable {
|
||||
}
|
||||
|
||||
public int fixIPAfterDebugLine(int ip) {
|
||||
if (code.isEmpty()) {
|
||||
return ip;
|
||||
}
|
||||
if (ip >= code.size()) {
|
||||
return code.size() - 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user