Skip to content

Commit

Permalink
Fix Java 4 compatibility issue
Browse files Browse the repository at this point in the history
Whoops!
  • Loading branch information
NeRdTheNed committed Sep 20, 2021
1 parent b6cf8c0 commit b7027af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/mcTextureGen/MCTextureGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b7027af

Please sign in to comment.