mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-21 23:45:04 +00:00
Use toLowerCase instead
This commit is contained in:
parent
c9972c2879
commit
a0075b2163
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ public class SetRankSubcommand extends Common implements CommandExecutor
|
|||
return true;
|
||||
}
|
||||
|
||||
String name = StringUtils.join(args, " ", 2, args.length);
|
||||
if (name.equalsIgnoreCase("none"))
|
||||
String name = StringUtils.join(args, " ", 2, args.length).toLowerCase();
|
||||
if (name.equals("none"))
|
||||
{
|
||||
for (GuildRank gr : guild.getRanks())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue