Fix invoking private event handler (#442)

This commit is contained in:
IzzelAliz 2022-01-26 13:44:14 +08:00
parent 9830723797
commit d26258ef73
No known key found for this signature in database
GPG Key ID: EE50E123A11D8338
2 changed files with 1 additions and 3 deletions

View File

@ -212,8 +212,6 @@ public abstract class JavaPluginLoaderMixin implements JavaPluginLoaderBridge {
invokeCode = Opcodes.INVOKESTATIC;
} else if (method.getDeclaringClass().isInterface()) {
invokeCode = Opcodes.INVOKEINTERFACE;
} else if (Modifier.isPrivate(method.getModifiers())) {
invokeCode = Opcodes.INVOKESPECIAL;
} else {
invokeCode = Opcodes.INVOKEVIRTUAL;
}

View File

@ -1,6 +1,6 @@
allprojects {
group 'io.izzel.arclight'
version '1.0.0'
version '1.0.1-SNAPSHOT'
def getGitHash = { ->
def stdout = new ByteArrayOutputStream()