mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-11 15:57:42 +00:00
15 lines
433 B
Java
15 lines
433 B
Java
package codechicken.lib.tool;
|
|
|
|
public class Main
|
|
{
|
|
public static void main(String[] args) {
|
|
LibDownloader.load();
|
|
try {
|
|
Class<?> c_toolMain = new StripClassLoader().loadClass("codechicken.lib.tool.ToolMain");
|
|
c_toolMain.getDeclaredMethod("main", String[].class).invoke(null, new Object[]{args});
|
|
} catch (Exception e) {
|
|
throw new RuntimeException(e);
|
|
}
|
|
}
|
|
}
|