Malicious Code Scanner Fix

On the latest release the code scanner isn't functioning, this should allow it to work as normal again
This commit is contained in:
Konloch 2022-07-05 01:39:49 -05:00
parent cc50e68c40
commit 55eaafd2d1

View file

@ -76,6 +76,9 @@ public class InstructionPrinter implements Opcodes {
}
private void precalculateLabelIndexes(MethodNode m) {
if(m == null)
return;
int lIdx = 0;
for (AbstractInsnNode ain : m.instructions) {
if (ain.getType() == AbstractInsnNode.LABEL) {