mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-04 00:37:46 +00:00
Made invokable methods public
This commit is contained in:
@@ -38,6 +38,8 @@ public class AddInvokerAdapter implements Opcodes, Injectable {
|
||||
this.argsDesc + this.returnDesc, null, null);
|
||||
|
||||
boolean isStatic = (this.mn.access & ACC_STATIC) != 0;
|
||||
|
||||
mn.access = mn.access | ACC_PUBLIC;
|
||||
|
||||
if (!isStatic)
|
||||
m.visitVarInsn(ALOAD, 0);
|
||||
|
||||
Reference in New Issue
Block a user