Skip to content

Commit

Permalink
Fix server only jar, closes #966
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Oct 16, 2023
1 parent a6534ad commit eb0c459
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Objects;
import java.util.function.Function;
Expand Down Expand Up @@ -127,7 +128,7 @@ private void deleteSimilarJars(Path jar) throws IOException {
@Override
protected String getName(String name) {
// Hash the cache value so that we don't have to process the same JAR multiple times for many projects
return "minecraft-%s-%s".formatted(name, jarProcessorManager.getJarHash());
return "minecraft-%s-%s".formatted(name, jarProcessorManager.getJarHash()).toLowerCase(Locale.ROOT);
}

@Override
Expand Down

0 comments on commit eb0c459

Please sign in to comment.