correct project-specific minecraft cache location
All checks were successful
Publish to snapshot maven / build (push) Successful in 19s

This commit is contained in:
moehreag 2024-06-10 20:38:35 +02:00
parent a099567ac9
commit 27d428d70a

View file

@ -26,7 +26,7 @@ abstract class PhytotelmaGradleExtensionImpl: PhytotelmaGradleExtension {
PhytotelmaPlugin.parchmentVersion = parchment PhytotelmaPlugin.parchmentVersion = parchment
println("Valid version! $version") println("Valid version! $version")
val clientJar = VersionChecker.downloadClient(version) val clientJar = VersionChecker.downloadClient(version)
val remappedJar = PhytotelmaPlugin.localCacheDir.resolve("net/minecraft/client/client-$version-remapped.jar") val remappedJar = PhytotelmaPlugin.localCacheDir.resolve("net/minecraft/client/$version/client-$version-remapped.jar")
remappedJar.createParentDirectories() remappedJar.createParentDirectories()
PhytotelmaPlugin.remappedGameJarPath = remappedJar PhytotelmaPlugin.remappedGameJarPath = remappedJar
println("Time to setup Minecraft!") println("Time to setup Minecraft!")