Skip to content

Commit

Permalink
Make bs-dev use File.pathSeparator instead of ";" Closes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Jul 26, 2024
1 parent 394896e commit 96b4c21
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/
package net.minecraftforge.bootstrap.dev;

import java.io.File;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
Expand Down Expand Up @@ -67,7 +68,7 @@ private boolean processExplicit(List<Path[]> classpath) {

var map = new HashMap<String, List<Path>>();
var claimed = new HashSet<Path>();
for (var entry : mod_classes.split(";")) {
for (var entry : mod_classes.split(File.pathSeparator)) {
if (entry.isBlank())
continue;

Expand Down

0 comments on commit 96b4c21

Please sign in to comment.