Make OpenGradle merge data from client

This commit is contained in:
TheCodedOne 2018-05-15 02:14:12 +01:00
parent db3ff955e5
commit 24e3a3fb7d

View file

@ -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("log4j2.xml") || name.startsWith("pack.png")) {
if (name.startsWith("assets") || name.startsWith("data") || name.startsWith("log4j2.xml") || name.startsWith("pack.png")) {
return name;
} else {
return null;