From b298dd2a1b6e2e096321ae93f179bceabd38b703 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Tue, 15 May 2018 21:35:58 +0100 Subject: [PATCH] include pack.mcmeta + more log4j stuff --- src/main/java/net/fabricmc/loom/task/MapJarsTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/fabricmc/loom/task/MapJarsTask.java b/src/main/java/net/fabricmc/loom/task/MapJarsTask.java index b80471b..49b83db 100644 --- a/src/main/java/net/fabricmc/loom/task/MapJarsTask.java +++ b/src/main/java/net/fabricmc/loom/task/MapJarsTask.java @@ -76,7 +76,7 @@ public class MapJarsTask extends DefaultTask { tempAssests.mkdir(); ZipUtil.unpack(Constants.MINECRAFT_CLIENT_JAR.get(extension), tempAssests, name -> { - if (name.startsWith("assets") || name.startsWith("data") || name.startsWith("log4j2.xml") || name.startsWith("pack.png")) { + if (name.startsWith("assets") || name.startsWith("pack.mcmeta") || name.startsWith("data") || name.toLowerCase().startsWith("log4j2") || name.startsWith("pack.png")) { return name; } else { return null;