Skip to content

Commit

Permalink
Fixed #29
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasDeBruijn committed Dec 24, 2021
1 parent 10da54b commit c6bc76d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public String[] onSubcommandComplete(SkinFixer plugin, CommandSender sender, Str
* @return True if it is valid, false if it is not
*/
private boolean isValidInt(String s) {
if(!s.matches("(\\d*.)")) {
if(!s.matches("^\\d*$")) {
return false;
}

Expand Down

0 comments on commit c6bc76d

Please sign in to comment.