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

Make debug logging happen when debug mode is on in the CLI

This commit is contained in:
Aurora
2025-07-29 22:03:48 +01:00
parent 5514fda7d3
commit 8e24bad5b8

View File

@@ -61,6 +61,8 @@ public class Main {
outputPath = inputPath.substring(0, inputPath.length() - 4) + ".mcpack";
}
System.setProperty("PackConverter.Debug", String.valueOf(debug));
new PackConverter()
.input(Path.of(inputPath))
.output(Path.of(outputPath))