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

Undo "Temporarily remove the pack.mcmeta check"

This commit is contained in:
Aurora
2025-08-19 15:53:26 +01:00
parent 05c7283770
commit b9da2f5d72

View File

@@ -297,11 +297,10 @@ 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 -> {
// TODO: Add this back as an optional thing in API once it's been sorted out if (!Files.exists(input.resolve("pack.mcmeta"))) {
// if (!Files.exists(input.resolve("pack.mcmeta"))) { logListener.error("Invalid Java Edition resource pack. No pack.mcmeta found.");
// logListener.error("Invalid Java Edition resource pack. No pack.mcmeta found."); return;
// return; }
// }
this.tmpDir = this.output.toAbsolutePath().getParent().resolve(this.output.getFileName() + "_mcpack/"); this.tmpDir = this.output.toAbsolutePath().getParent().resolve(this.output.getFileName() + "_mcpack/");