Delete existing manifests when augmenting them

This commit is contained in:
Juuxel
2020-11-30 16:17:57 +02:00
parent f8a7654348
commit 3cd90e6e13

View File

@@ -150,6 +150,7 @@ public class MinecraftMappedProvider extends DependencyProvider {
lines.add("Name: net/minecraftforge/fml/mclanguageprovider/");
lines.add("Implementation-Version: " + version.getMinecraftVersion());
Files.delete(manifestPath);
Files.write(manifestPath, lines);
}
}