Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicPlayerA10 committed Sep 25, 2024
1 parent 5bf228d commit 4c7a2a5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ protected boolean test(MatchContext context) {
}

private AbstractInsnNode walk(AbstractInsnNode node) {
if (skipAsmInstructions) {
node = previous ? node.previous(offset) : node.getPrevious(offset);
if (previous) {
node = skipAsmInstructions ? node.previous(offset) : node.getPrevious(offset);
} else {
node = previous ? node.next(offset) : node.getNext(offset);
node = skipAsmInstructions ? node.next(offset) : node.getNext(offset);
}

return node;
Expand Down

0 comments on commit 4c7a2a5

Please sign in to comment.