1
0
mirror of https://github.com/GeyserMC/PackConverter.git synced 2025-12-19 23:09:14 +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); VanillaPackProvider.create(vanillaPackPath, this.logListener);
ZipUtils.openFileSystem(this.input, this.compressed, input -> { ZipUtils.openFileSystem(this.input, this.compressed, input -> {
if (!Files.exists(input.resolve("pack.mcmeta"))) { // TODO: Add this back as an optional thing in API once it's been sorted out
logListener.error("Invalid Java Edition resource pack. No pack.mcmeta found."); // if (!Files.exists(input.resolve("pack.mcmeta"))) {
return; // logListener.error("Invalid Java Edition resource pack. No pack.mcmeta found.");
} // return;
// }
this.tmpDir = this.output.toAbsolutePath().getParent().resolve(this.output.getFileName() + "_mcpack/"); this.tmpDir = this.output.toAbsolutePath().getParent().resolve(this.output.getFileName() + "_mcpack/");