Skip to content

Commit d389952

Browse files
committed
Fixed an issue maybe?
1 parent 6de8737 commit d389952

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,13 @@ public String getId() {
7575
public void launch(ModuleLayer parent, String[] args) throws Throwable {
7676
final var pluginsPath = Path.of("plugins");
7777

78-
List<IDependencyLocator> dependencyLocators =
79-
ServiceLoader.load(IDependencyLocator.class)
80-
.stream()
81-
.map(ServiceLoader.Provider::get)
82-
.toList();
78+
List<IDependencyLocator> dependencyLocators = new ArrayList<>();
79+
dependencyLocators.add(new MangoBotDependencyLocator());
80+
81+
// ServiceLoader.load(IDependencyLocator.class)
82+
// .stream()
83+
// .map(ServiceLoader.Provider::get)
84+
// .toList();
8385

8486
final Map<String, List<IDependency>> dependencies = new HashMap<>();
8587

0 commit comments

Comments
 (0)