Skip to content

Commit 3a78138

Browse files
committed
MapleIR plugin test harness
1 parent 2373038 commit 3a78138

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package org.mapleir.jdaplugin;
2+
3+
import club.bytecode.the.jda.JDA;
4+
5+
/**
6+
* Quick dependency injector to hack the circular reference so I can debug this plugin in my IDE
7+
*/
8+
public class MapleInjectedJDA {
9+
public static void main(String[] args) {
10+
JDA.injectedPlugin = MaplePlugin::new;
11+
JDA.main(args);
12+
}
13+
}

0 commit comments

Comments
 (0)