Skip to content

Commit

Permalink
Fixed config comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Majrusz committed Jul 26, 2022
1 parent e264825 commit 6ca778f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/mlib/config/ValueConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public Type get() {
private static String validateComment( String comment, boolean requiresWorldRestart ) {
if( !comment.isEmpty() && requiresWorldRestart ) {
if( comment.endsWith( "." ) ) {
return comment.substring( 0, comment.length() - 2 ) + " (requires world/game restart).";
return comment.substring( 0, comment.length() - 1 ) + " (requires world/game restart).";
} else {
return comment + " (requires world/game restart)";
}
Expand Down

0 comments on commit 6ca778f

Please sign in to comment.