mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-11 07:47:47 +00:00
14 lines
433 B
Java
14 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);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|