Skip to content

Commit 1125588

Browse files
committed
Fixed an issue maybe?
1 parent 45ca274 commit 1125588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public String getId() {
7171
public void launch(ModuleLayer bootstrapLayer, ModuleLayer parent, String[] args) throws Throwable {
7272
final var pluginsPath = Path.of("plugins");
7373

74-
List<IDependencyLocator> dependencyLocators = ServiceLoader.load(bootstrapLayer, IDependencyLocator.class)
74+
List<IDependencyLocator> dependencyLocators = ServiceLoader.load(IDependencyLocator.class, getClass().getClassLoader())
7575
.stream()
7676
.map(ServiceLoader.Provider::get)
7777
.toList();

0 commit comments

Comments
 (0)