diff --git a/src/main/java/mcTextureGen/MCTextureGenerator.java b/src/main/java/mcTextureGen/MCTextureGenerator.java index 9bf9950..7a236c8 100644 --- a/src/main/java/mcTextureGen/MCTextureGenerator.java +++ b/src/main/java/mcTextureGen/MCTextureGenerator.java @@ -52,7 +52,7 @@ public static void main(final String[] args) { } else if ("-randomSeed".equals(args[i])) { AbstractTextureGenerator.setRandomSeed(Long.valueOf(args[i + 1])); } else if ("-platformTextures".equals(args[i])) { - AbstractTextureGenerator.setShouldGeneratePlatformDependantTextures(Boolean.parseBoolean(args[i + 1])); + AbstractTextureGenerator.setShouldGeneratePlatformDependantTextures(Boolean.valueOf(args[i + 1]).booleanValue()); } else { log.log(Level.SEVERE, "Invalid command line parameter {0} provided", args[i]); System.exit(1);