fix #37
parent
83d6a2da42
commit
5c7c94e5fc
|
@ -41,6 +41,14 @@ public class MinecraftMappedProvider extends DependencyProvider {
|
|||
|
||||
@Override
|
||||
public void provide(DependencyInfo dependency, Project project, LoomGradleExtension extension) throws Exception {
|
||||
if (!extension.getMappingsProvider().MAPPINGS_TINY.exists()) {
|
||||
throw new RuntimeException("mappings file not found");
|
||||
}
|
||||
|
||||
if (!extension.getMinecraftProvider().jarProvider.getMergedJar().exists()) {
|
||||
throw new RuntimeException("input merged jar not found");
|
||||
}
|
||||
|
||||
if(!getMappedJar().exists() || !getIntermediaryJar().exists()){
|
||||
if (getMappedJar().exists()) {
|
||||
getMappedJar().delete();
|
||||
|
|
Loading…
Reference in New Issue