Remove incorrect non-mod check for Forge JIJ

Fixes #96.
This commit is contained in:
Juuz
2022-08-09 16:36:54 +03:00
parent b74d310311
commit 0677b5d2a7

View File

@@ -149,7 +149,6 @@ public class JarNester {
IncludedJarFactory.Metadata metadata = nestedFile.metadata();
File file = nestedFile.file();
String nestedJarPath = "META-INF/jars/" + file.getName();
Preconditions.checkArgument(ModUtils.isMod(file, ModPlatform.FORGE), "Cannot nest none mod jar: " + file.getName());
for (JsonElement nestedJar : nestedJars) {
JsonObject jsonObject = nestedJar.getAsJsonObject();