Skip to content

Commit

Permalink
chore: merge pull request #5 from Bloom-host/hotfix/case
Browse files Browse the repository at this point in the history
Ignore Case For Location
  • Loading branch information
NotGeri authored Apr 29, 2024
2 parents 3f452e5 + b2519ed commit a0b3dd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ java {

ext {
pluginName = 'BloomAB'
pluginVersion = '1.5.5'
pluginVersion = '1.5.6'
pluginDescription = 'Anti bot protection for Bloom servers'
pluginAuthor = 'Bloom'
pluginWebsite = 'https://bloom.host'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void run(Sender sender, String[] args) {

Location location;
try {
location = Location.valueOf(args[2]);
location = Location.valueOf(args[2].toUpperCase());
} catch (IllegalArgumentException exception) {
sender.sendMessage(Messages.invalid_location.getMessage("{location}", args[2]));
return;
Expand Down Expand Up @@ -135,4 +135,4 @@ public List<String> getTabCompletion(String[] args) {

return Collections.emptyList();
}
}
}

0 comments on commit a0b3dd6

Please sign in to comment.