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" minecraft = "1.16.5"
forge = "1.16.5-36.2.34" forge = "1.16.5-36.2.34"
autoService = "1.0.1" autoService = "1.0.1"
lillero = "0.3.0" lillero = "0.3.3"
lilleroProcessor = "0.2.1" lilleroProcessor = "0.2.1"
checkerFramework = "0.6.24" checkerFramework = "0.6.24"

View file

@ -45,8 +45,7 @@ public class BackgroundPatch implements ICommons {
.ignoreLineNumbers() .ignoreLineNumbers()
.build() .build()
.find(main) .find(main)
// .getFirst(); // TODO returns first InsnNode of method instead of match? .getFirst();
.getLast().getPrevious().getPrevious().getPrevious();
LabelNode skip = new LabelNode(); LabelNode skip = new LabelNode();
InsnSequence is = new InsnSequence(); InsnSequence is = new InsnSequence();

View file

@ -44,8 +44,7 @@ public class CommandsPatch {
.ignoreLineNumbers() .ignoreLineNumbers()
.build() .build()
.find(main) .find(main)
.getLast() .getLast();
.getNext(); // TODO temp fix!!!
InsnSequence is = new InsnSequence(); InsnSequence is = new InsnSequence();
is.add(new InsnNode(DUP)); is.add(new InsnNode(DUP));