Skip to content

Commit

Permalink
close #5
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed May 2, 2024
1 parent 00daca7 commit aeb7367
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.xginko</groupId>
<artifactId>VillagerOptimizer</artifactId>
<version>1.5.2</version>
<version>1.5.3</version>
<packaging>jar</packaging>

<name>VillagerOptimizer</name>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/me/xginko/villageroptimizer/utils/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class Util {

public static @NotNull String formatEnum(@NotNull Enum<?> input) {
// Turn something like "REDSTONE_TORCH" into "redstone torch"
String[] lowercaseWords = input.name().toLowerCase(Locale.ROOT).split("-");
String[] lowercaseWords = input.name().toLowerCase(Locale.ROOT).split("_");
for (int i = 0; i < lowercaseWords.length; i++) {
String word = lowercaseWords[i];
// Capitalize first letter for each word
Expand Down

0 comments on commit aeb7367

Please sign in to comment.