Skip to content

Commit

Permalink
fix fail message formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
456dev committed Jul 24, 2023
1 parent 3935f3f commit 9b15fb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class BentoBoxFlag {

@Comment("ID of the flag\nthis is what player-settings are stored under,\nso other options can change while keeping their choice\nto prevent conflicts, the is prefixed with LPCONTEXT_")
@Required
@Matches(value = "^[A-Z_]+$", failureMessage = "%s needs to be A-Z and _ Only (matching regex) %s")
@Matches(value = "^[A-Z_]+$", failureMessage = "\"{0}\" needs to be A-Z and _ Only (matching regex \"{1}\")")
String id;

@Comment("Localized name")
Expand Down

0 comments on commit 9b15fb6

Please sign in to comment.