Skip to content

Commit b3a529f

Browse files
committed
Move to using new MangoBotCore entrypoint...
1 parent 7f8dcc9 commit b3a529f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/org/mangorage/bootstrap/internal/MangoBotLaunchTarget.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ public void launch(ModuleLayer parent, String[] args) throws Throwable {
120120

121121
moduleCL.load(moduleLayer, moduleLayerController);
122122

123-
callMain("org.mangorage.entrypoint.MangoBotCore", args, moduleLayer.findModule("org.mangorage.mangobotcore").get());
123+
// TODO: Perhaps come up with a better system for locating this?
124+
// TODO: Perhaps have a Manifest attribute that searches for MangoBotBootStrapTargetClass?
125+
callMain("org.mangorage.mangobotcore.entrypoint.MangoBotCore", args, moduleLayer.findModule("org.mangorage.mangobotcore").get());
124126
}
125127
}

0 commit comments

Comments
 (0)