1
0
mirror of https://github.com/GeyserMC/PackConverter.git synced 2025-12-19 14:59:21 +00:00

Temporarily remove the pack.mcmeta check

This commit is contained in:
Aurora
2025-08-17 19:23:19 +01:00
parent 13bfacf7c1
commit 05c7283770

View File

@@ -297,10 +297,11 @@ public final class PackConverter {
VanillaPackProvider.create(vanillaPackPath, this.logListener);
ZipUtils.openFileSystem(this.input, this.compressed, input -> {
if (!Files.exists(input.resolve("pack.mcmeta"))) {
logListener.error("Invalid Java Edition resource pack. No pack.mcmeta found.");
return;
}
// TODO: Add this back as an optional thing in API once it's been sorted out
// if (!Files.exists(input.resolve("pack.mcmeta"))) {
// logListener.error("Invalid Java Edition resource pack. No pack.mcmeta found.");
// return;
// }
this.tmpDir = this.output.toAbsolutePath().getParent().resolve(this.output.getFileName() + "_mcpack/");