Skip to content

Commit c39c711

Browse files
committed
Make sure to check if its actually a damn file man!
1 parent ce6bd61 commit c39c711

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ public void launch(ModuleLayer parent, String[] args) throws Throwable {
8181
});
8282

8383
Path sortedLibraries = Path.of("sorted-libraries").toAbsolutePath();
84-
final var list = dependencies.entrySet()
84+
final var list = finalDependencies.entrySet()
8585
.stream()
86-
.map(set -> set.getValue().getFirst().jar())
86+
.map(entry -> entry.getValue().jar())
8787
.toList();
8888

8989
copyFilesToDirectory(list, sortedLibraries);
@@ -94,9 +94,6 @@ public void launch(ModuleLayer parent, String[] args) throws Throwable {
9494

9595
moduleNames.remove("kotlin-stdlib-common");
9696

97-
98-
99-
10097
final var moduleCfg = Configuration.resolve(
10198
ModuleFinder.of(
10299
sortedLibraries

0 commit comments

Comments
 (0)