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