mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-04 16:56:40 +00:00
Fix tab handling and add more commands
This commit is contained in:
@ -308,7 +308,7 @@ public abstract class PlexCommand extends Command implements PluginIdentifiableC
|
||||
PlexPlayer plexPlayer = getPlexPlayer(player);
|
||||
if (plugin.getSystem().equalsIgnoreCase("ranks"))
|
||||
{
|
||||
return rank.isAtLeast(plexPlayer.getRankFromString());
|
||||
return plexPlayer.getRankFromString().isAtLeast(rank);
|
||||
}
|
||||
else if (plugin.getSystem().equalsIgnoreCase("permissions"))
|
||||
{
|
||||
|
Reference in New Issue
Block a user