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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user