From 24b1b0669d34e6ad8fcaa6a5e574b4dc32156d85 Mon Sep 17 00:00:00 2001 From: asie Date: Mon, 12 Nov 2018 00:35:12 +0100 Subject: [PATCH] do not try closing twice in ModProcessor --- src/main/java/net/fabricmc/loom/util/ModProcessor.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/net/fabricmc/loom/util/ModProcessor.java b/src/main/java/net/fabricmc/loom/util/ModProcessor.java index 8e6fe59..4c2c2dd 100644 --- a/src/main/java/net/fabricmc/loom/util/ModProcessor.java +++ b/src/main/java/net/fabricmc/loom/util/ModProcessor.java @@ -110,8 +110,6 @@ public class ModProcessor { remapper.read(mc); remapper.read(mcDeps); remapper.apply(input.toPath(), outputConsumer); - outputConsumer.finish(); - remapper.finish(); } catch (Exception e){ throw new RuntimeException("Failed to remap JAR to " + toM, e); } finally {