File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1010 uses org .mangorage .bootstrap .api .transformer .IClassTransformer ;
1111 uses org .mangorage .bootstrap .api .module .IModuleConfigurator ;
1212 uses org .mangorage .bootstrap .api .launch .ILaunchTarget ;
13-
14- provides org .mangorage .bootstrap .api .launch .ILaunchTarget with org .mangorage .bootstrap .internal .impl .MangoBotLaunchTarget ;
1513}
Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ public static void main(String[] args) throws Throwable {
6161 );
6262
6363 final Map <String , ILaunchTarget > launchTargetMap = new HashMap <>();
64+
6465 ServiceLoader .load (ILaunchTarget .class )
6566 .stream ()
6667 .forEach (provider -> {
67- if (provider .type () != MangoBotLaunchTarget .class ) {
68- final var target = provider .get ();
69- launchTargetMap .put (target .getId (), target );
70- }
68+ final var target = provider .get ();
69+ launchTargetMap .put (target .getId (), target );
70+
7171 });
7272
7373 // Only add if we dont have any other launch targets...
You can’t perform that action at this time.
0 commit comments