Skip to content

Commit 4ffdf0d

Browse files
committed
Fix minor issue...
1 parent 2ed620a commit 4ffdf0d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/main/java/module-info.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@
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
}

src/main/java/org/mangorage/bootstrap/Bootstrap.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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...

0 commit comments

Comments
 (0)