warn about refmap name after fields are populated, might help some things

This commit is contained in:
Adrian Siekierka
2018-12-30 12:04:53 +01:00
parent 6a77b5deaa
commit 0dcb7070be
3 changed files with 12 additions and 10 deletions

View File

@@ -101,10 +101,8 @@ public class ModRemapper {
throw new RuntimeException("Failed to reobfuscate JAR");
}
if (extension.refmapName != null && extension.refmapName.length() > 0) {
if (MixinRefmapHelper.addRefmapName(extension.refmapName, extension.getMixinJsonVersion(), modJarOutput)) {
project.getLogger().debug("Transformed mixin reference maps in output JAR!");
}
if (MixinRefmapHelper.addRefmapName(extension.getRefmapName(), extension.getMixinJsonVersion(), modJarOutput)) {
project.getLogger().debug("Transformed mixin reference maps in output JAR!");
}
try {