Skip to content

Commit 9d2332c

Browse files
committed
fix: Should decorate the path of the native library
1 parent a771d39 commit 9d2332c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/core/version.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,12 @@ export namespace Version {
665665
url: 'https://libraries.minecraft.net/' + info.path,
666666
}
667667
}
668+
if (!nativeArtifact.path) {
669+
nativeArtifact = {
670+
...nativeArtifact,
671+
path: info.path,
672+
}
673+
}
668674
return new ResolvedLibrary(lib.name + ':' + classifier, info, nativeArtifact, true, undefined, undefined, undefined, lib.extract ? lib.extract.exclude ? lib.extract.exclude : undefined : undefined)
669675
}
670676
const info = LibraryInfo.resolve(lib.name)

0 commit comments

Comments
 (0)