Skip to content

Commit 5189169

Browse files
committed
Use bundle lib's path instead of artifact local path
1 parent db7ffb0 commit 5189169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/minecraftforge/mcmaven/impl/repo/mcpconfig/MCPTaskFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ public int compareTo(LibLine o) {
728728

729729
downloadedLibs.add(new Lib(artifact, target));
730730
if (!target.exists()) {
731-
entry = jar.getEntry("META-INF/libraries/" + artifact.getLocalPath());
731+
entry = jar.getEntry("META-INF/libraries/" + lib.path());
732732
if (entry == null)
733733
throw new IllegalStateException("Invalid bundle: `" + bundle + "` - Missing META-INF/libraries/" + lib);
734734

0 commit comments

Comments
 (0)