- Create tag command

- Fix bug fixes
This commit is contained in:
Taah
2022-02-21 22:55:59 -08:00
parent ab0666ebeb
commit 355a930c89
8 changed files with 111 additions and 11 deletions

View File

@ -260,7 +260,7 @@ public abstract class PlexCommand extends Command implements PluginIdentifiableC
PlexPlayer plexPlayer = getPlexPlayer(player);
if (plugin.getSystem().equalsIgnoreCase("ranks"))
{
if (!plexPlayer.getRankFromString().isAtLeast(getLevel()))
if (!plexPlayer.getRankFromString().isAtLeast(rank))
{
throw new CommandFailException(PlexUtils.tl("noPermissionRank", ChatColor.stripColor(rank.getLoginMessage())));
}