From 9018e10b7f05e7be10fadd78bcb387859c95784b Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Fri, 12 May 2017 13:16:39 +0100 Subject: [PATCH] Fix ObfuscationService when using local mappings. --- src/main/java/net/fabricmc/loom/task/DownloadTask.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/net/fabricmc/loom/task/DownloadTask.java b/src/main/java/net/fabricmc/loom/task/DownloadTask.java index 70bc42b..cc5f147 100644 --- a/src/main/java/net/fabricmc/loom/task/DownloadTask.java +++ b/src/main/java/net/fabricmc/loom/task/DownloadTask.java @@ -79,9 +79,8 @@ public class DownloadTask extends DefaultTask { if(!extension.hasPomf()){ if(Constants.MAPPINGS_DIR_LOCAL.get(extension).exists()){ if(Constants.MAPPINGS_TINY_GZ_LOCAL.get(extension).exists() && Constants.MAPPINGS_ZIP_LOCAL.get(extension).exists()){ - this.getLogger().lifecycle("Found local mapping files"); + this.getLogger().lifecycle(":using local mappings!"); extension.localMappings = true; - extension.pomfVersion = "local"; //TODO set this to include the hash or something to so the jar name is unique? //We delete this to make sure they are always re extracted. deleteIfExists(Constants.MAPPINGS_ZIP.get(extension));