From f26e9e2c7b6051823fdfe4a1c34cb02e54564784 Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Tue, 13 Jul 2021 10:52:42 +0300 Subject: [PATCH] Fix AW field remapping (#434) * Fix AW field remapping * Fix by updating TR instead * Fix checkstyle so that tests run --- build.gradle | 2 +- src/main/java/net/fabricmc/loom/task/LoomTasks.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index d334a52..7027ff0 100644 --- a/build.gradle +++ b/build.gradle @@ -77,7 +77,7 @@ dependencies { } // tinyfile management - implementation ('net.fabricmc:tiny-remapper:0.4.2') + implementation ('net.fabricmc:tiny-remapper:0.4.3') implementation ('net.fabricmc:tiny-mappings-parser:0.3.0+build.17') implementation 'net.fabricmc:access-widener:1.0.0' diff --git a/src/main/java/net/fabricmc/loom/task/LoomTasks.java b/src/main/java/net/fabricmc/loom/task/LoomTasks.java index 59a596e..8adbe04 100644 --- a/src/main/java/net/fabricmc/loom/task/LoomTasks.java +++ b/src/main/java/net/fabricmc/loom/task/LoomTasks.java @@ -114,6 +114,7 @@ public final class LoomTasks { project.afterEvaluate(p -> { MappingsProviderImpl mappingsProvider = extension.getMappingsProvider(); + if (mappingsProvider.mappedProvider == null) { // If this is ever null something has gone badly wrong, // for some reason for another this afterEvaluate still gets called when something has gone badly