mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 07:55:03 +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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
String name = StringUtils.join(args, " ", 2, args.length);
|
String name = StringUtils.join(args, " ", 2, args.length).toLowerCase();
|
||||||
if (name.equalsIgnoreCase("none"))
|
if (name.equals("none"))
|
||||||
{
|
{
|
||||||
for (GuildRank gr : guild.getRanks())
|
for (GuildRank gr : guild.getRanks())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue