Properly restrict moderation staff testrank access

This commit is contained in:
AlexTheCoder 2017-06-08 20:15:41 -04:00
parent ecd9812f0c
commit 986d4f3dcc
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public class TestRank extends CommandBase<CoreClientManager>
UtilPlayer.message(caller, F.main(Plugin.getName(), ChatColor.RED + "" + ChatColor.BOLD + "Invalid rank!"));
return;
}
if (Plugin.Get(caller).GetRank(true) == Rank.SNR_MODERATOR)
if (!Plugin.Get(caller).GetRank(true).has(Rank.JNR_DEV))
{
if (tempRank.has(Rank.TWITCH))
{