mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-06 16:50:39 +00:00
Merge branch 'master' of github.com:Parabot/Parabot
This commit is contained in:
@@ -46,7 +46,7 @@ public class AddInterfaceAdapter implements Injectable {
|
|||||||
protected static void addInterface(ClassNode node, String i) {
|
protected static void addInterface(ClassNode node, String i) {
|
||||||
ASMUtils.makePublic(node);
|
ASMUtils.makePublic(node);
|
||||||
for(MethodNode mn : node.methods) {
|
for(MethodNode mn : node.methods) {
|
||||||
if(mn.desc.startsWith("<init")) {
|
if(mn.name.startsWith("<init")) {
|
||||||
ASMUtils.makePublic(mn);
|
ASMUtils.makePublic(mn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user