Fix invoking private event handler (#442)
This commit is contained in:
parent
9830723797
commit
d26258ef73
|
@ -212,8 +212,6 @@ public abstract class JavaPluginLoaderMixin implements JavaPluginLoaderBridge {
|
||||||
invokeCode = Opcodes.INVOKESTATIC;
|
invokeCode = Opcodes.INVOKESTATIC;
|
||||||
} else if (method.getDeclaringClass().isInterface()) {
|
} else if (method.getDeclaringClass().isInterface()) {
|
||||||
invokeCode = Opcodes.INVOKEINTERFACE;
|
invokeCode = Opcodes.INVOKEINTERFACE;
|
||||||
} else if (Modifier.isPrivate(method.getModifiers())) {
|
|
||||||
invokeCode = Opcodes.INVOKESPECIAL;
|
|
||||||
} else {
|
} else {
|
||||||
invokeCode = Opcodes.INVOKEVIRTUAL;
|
invokeCode = Opcodes.INVOKEVIRTUAL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
allprojects {
|
allprojects {
|
||||||
group 'io.izzel.arclight'
|
group 'io.izzel.arclight'
|
||||||
version '1.0.0'
|
version '1.0.1-SNAPSHOT'
|
||||||
|
|
||||||
def getGitHash = { ->
|
def getGitHash = { ->
|
||||||
def stdout = new ByteArrayOutputStream()
|
def stdout = new ByteArrayOutputStream()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user