creation of new module

This commit is contained in:
jiahua.liu 2020-03-05 16:55:25 +08:00
parent e104661ba7
commit af51befd64
3 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
## Mirai Console Wrapper
Loader(Installer) of Mirai-Console all versions

View File

View File

@ -198,11 +198,12 @@ object MiraiCoreLoader {
MiraiConsole.logger("Core:" + getCore())
MiraiConsole.logger("Protocol:" + getProtocolLib())
MiraiCoreClassLoader(
(getCore()!!),
this.javaClass.classLoader
)
.loadClass("net.mamoe.mirai.BotFactory")
.loadClass("net.mamoe.mirai.BotImpl")
MiraiCoreClassLoader(