mirror of
https://github.com/GeyserMC/PackConverter.git
synced 2025-12-23 16:59:18 +00:00
Make debug logging happen when debug mode is on in the CLI
This commit is contained in:
@@ -61,6 +61,8 @@ public class Main {
|
|||||||
outputPath = inputPath.substring(0, inputPath.length() - 4) + ".mcpack";
|
outputPath = inputPath.substring(0, inputPath.length() - 4) + ".mcpack";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
System.setProperty("PackConverter.Debug", String.valueOf(debug));
|
||||||
|
|
||||||
new PackConverter()
|
new PackConverter()
|
||||||
.input(Path.of(inputPath))
|
.input(Path.of(inputPath))
|
||||||
.output(Path.of(outputPath))
|
.output(Path.of(outputPath))
|
||||||
|
|||||||
Reference in New Issue
Block a user