Ensure output is deleted before remapping the game.
parent
806dd1b840
commit
a3c90aca19
|
@ -26,6 +26,7 @@ package net.fabricmc.loom.configuration.providers.minecraft;
|
|||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.Arrays;
|
||||
import java.util.Map;
|
||||
|
@ -111,6 +112,8 @@ public class MinecraftMappedProvider extends DependencyProvider {
|
|||
|
||||
getProject().getLogger().lifecycle(":remapping minecraft (TinyRemapper, " + fromM + " -> " + toM + ")");
|
||||
|
||||
Files.delete(output);
|
||||
|
||||
TinyRemapper remapper = getTinyRemapper(fromM, toM);
|
||||
|
||||
try (OutputConsumerPath outputConsumer = new OutputConsumerPath.Builder(output).build()) {
|
||||
|
|
Loading…
Reference in New Issue