Fix v2 mappings dir

dev/0.11
modmuss50 2020-08-26 12:10:04 +01:00
parent 8da300563a
commit 326224ba91
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ public class MappingsProvider extends DependencyProvider {
minecraftVersion = getExtension().getMinecraftProvider().getMinecraftVersion(); minecraftVersion = getExtension().getMinecraftProvider().getMinecraftVersion();
Preconditions.checkNotNull(minecraftVersion, "Minecraft version cannot be null"); Preconditions.checkNotNull(minecraftVersion, "Minecraft version cannot be null");
intermediaryTiny = Paths.get(mappingsStepsDir.toString(), String.format("intermediary-%s-v2.tiny", minecraftVersion)); intermediaryTiny = mappingsDir.resolve(String.format("intermediary-%s-v2.tiny", minecraftVersion));
if (!Files.exists(intermediaryTiny) || (isRefreshDeps() && !hasRefreshed)) { if (!Files.exists(intermediaryTiny) || (isRefreshDeps() && !hasRefreshed)) {
hasRefreshed = true; hasRefreshed = true;