diff options
author | alemi <me@alemi.dev> | 2023-03-13 03:19:12 +0100 |
---|---|---|
committer | alemi <me@alemi.dev> | 2023-03-13 03:19:12 +0100 |
commit | 49c4b2fd47fc3e7bf473172549bdc1251adc65aa (patch) | |
tree | c14ee67abf74d051ae4ce1bd953ba61eb315d64a /src/main/java/ftbsc | |
parent | fe466b0eeb98714666e78b652d39d0262309dd90 (diff) |
fix: update lillero version
Diffstat (limited to 'src/main/java/ftbsc')
-rw-r--r-- | src/main/java/ftbsc/bscv/patches/BackgroundPatch.java | 3 | ||||
-rw-r--r-- | src/main/java/ftbsc/bscv/patches/CommandsPatch.java | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/ftbsc/bscv/patches/BackgroundPatch.java b/src/main/java/ftbsc/bscv/patches/BackgroundPatch.java index 992a4ea..5fd234c 100644 --- a/src/main/java/ftbsc/bscv/patches/BackgroundPatch.java +++ b/src/main/java/ftbsc/bscv/patches/BackgroundPatch.java @@ -45,8 +45,7 @@ public class BackgroundPatch implements ICommons { .ignoreLineNumbers() .build() .find(main) - // .getFirst(); // TODO returns first InsnNode of method instead of match? - .getLast().getPrevious().getPrevious().getPrevious(); + .getFirst(); LabelNode skip = new LabelNode(); InsnSequence is = new InsnSequence(); diff --git a/src/main/java/ftbsc/bscv/patches/CommandsPatch.java b/src/main/java/ftbsc/bscv/patches/CommandsPatch.java index 0e8dd2a..505e50f 100644 --- a/src/main/java/ftbsc/bscv/patches/CommandsPatch.java +++ b/src/main/java/ftbsc/bscv/patches/CommandsPatch.java @@ -44,8 +44,7 @@ public class CommandsPatch { .ignoreLineNumbers() .build() .find(main) - .getLast() - .getNext(); // TODO temp fix!!! + .getLast(); InsnSequence is = new InsnSequence(); is.add(new InsnNode(DUP)); |