fix: update lillero version

This commit is contained in:
əlemi 2023-03-13 03:19:12 +01:00
parent fe466b0eeb
commit 49c4b2fd47
Signed by: alemi
GPG key ID: A4895B84D311642C
3 changed files with 4 additions and 6 deletions

View file

@ -4,7 +4,7 @@ gitVersion = "0.13.0"
minecraft = "1.16.5"
forge = "1.16.5-36.2.34"
autoService = "1.0.1"
lillero = "0.3.0"
lillero = "0.3.3"
lilleroProcessor = "0.2.1"
checkerFramework = "0.6.24"
@ -18,4 +18,4 @@ minecraftForge = { group = "net.minecraftforge", name = "forge", version.ref = "
autoService = { group = "com.google.auto.service", name = "auto-service", version.ref = "autoService" }
autoServiceAnnotations = { group = "com.google.auto.service", name = "auto-service-annotations", version.ref = "autoService" }
lillero = { group = "ftbsc", name = "lll", version.ref = "lillero" }
lilleroProcessor = { group = "ftbsc.lll", name = "processor", version.ref = "lilleroProcessor" }
lilleroProcessor = { group = "ftbsc.lll", name = "processor", version.ref = "lilleroProcessor" }

View file

@ -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();

View file

@ -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));