aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author alemi <me@alemi.dev>2023-03-13 03:19:12 +0100
committer alemi <me@alemi.dev>2023-03-13 03:19:12 +0100
commit49c4b2fd47fc3e7bf473172549bdc1251adc65aa (patch)
treec14ee67abf74d051ae4ce1bd953ba61eb315d64a /src
parentfe466b0eeb98714666e78b652d39d0262309dd90 (diff)
fix: update lillero version
Diffstat (limited to 'src')
-rw-r--r--src/main/java/ftbsc/bscv/patches/BackgroundPatch.java3
-rw-r--r--src/main/java/ftbsc/bscv/patches/CommandsPatch.java3
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));