Only remap jars when required

dev/0.11
modmuss50 2018-11-05 12:07:03 +00:00
parent 9ed5dd7a01
commit 10f134fcc2
1 changed files with 8 additions and 6 deletions

View File

@ -54,6 +54,7 @@ public class MinecraftJarProvider {
mergeJars(project);
}
if(!getMappedJar().exists() || !getIntermediaryJar().exists()){
if (getMappedJar().exists()) {
getMappedJar().delete();
}
@ -61,6 +62,7 @@ public class MinecraftJarProvider {
getIntermediaryJar().delete();
}
new MapJarsTiny().mapJars(this, project);
}
if (!MINECRAFT_MAPPED_JAR.exists()) {
throw new RuntimeException("mapped jar not found");