Skip to content

Commit

Permalink
fix: replace String#strip with #trim for java 8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
KingContaria committed Oct 21, 2024
1 parent 3ba73f3 commit f5004ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static void setPieDirectory(GameOptions options, String value) {
if (!value.startsWith("root")) {
value = "root";
}
value = value.replace('.', '\u001e').strip();
value = value.replace('.', '\u001e').trim();
if (options instanceof StandardGameOptions) {
((StandardGameOptions) options).pieDirectory = value;
} else {
Expand Down

0 comments on commit f5004ec

Please sign in to comment.