Bump version 1.0.2.

This commit is contained in:
IzzelAliz 2020-07-16 15:49:19 +08:00
parent 4feda54dd3
commit ac871c63d3
2 changed files with 3 additions and 3 deletions

View File

@ -188,8 +188,8 @@ public class InventoryImplementer implements Implementer {
{ {
for (MethodNode methodNode : node.methods) { for (MethodNode methodNode : node.methods) {
if (methodNode.name.equals("<init>")) { if (methodNode.name.equals("<init>")) {
AbstractInsnNode initNode = methodNode.instructions.getLast(); AbstractInsnNode initNode = methodNode.instructions.getFirst();
while (initNode.getOpcode() != Opcodes.INVOKESPECIAL || !((MethodInsnNode) initNode).name.equals("<init>")) { while (!(initNode.getOpcode() == Opcodes.INVOKESPECIAL && ((MethodInsnNode) initNode).name.equals("<init>"))) {
initNode = initNode.getNext(); initNode = initNode.getNext();
} }
InsnList insnList = new InsnList(); InsnList insnList = new InsnList();

View File

@ -3,7 +3,7 @@ import java.nio.file.attribute.BasicFileAttributes
allprojects { allprojects {
group 'io.izzel.arclight' group 'io.izzel.arclight'
version '1.0.2-SNAPSHOT' version '1.0.2'
ext { ext {
agpVersion = '1.7' agpVersion = '1.7'