This commit is contained in:
speed 2020-08-29 20:23:43 -04:00 committed by GitHub
parent fc4c04f3e5
commit bd70b872dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,9 +57,7 @@ public class SetRankSubcommand extends Common implements CommandExecutor
}
String name = StringUtils.join(args, " ", 2, args.length);
if (name.toLowerCase().equals("members") ||
name.toLowerCase().equals("member") ||
name.toLowerCase().equals("none"))
if (name.toLowerCase().equals("none"))
{
for (GuildRank gr : guild.getRanks())
{
@ -90,4 +88,4 @@ public class SetRankSubcommand extends Common implements CommandExecutor
guild.save();
return true;
}
}
}