mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 01:27:37 +00:00
fix mistake
This commit is contained in:
parent
d756dcb2f4
commit
15b50ac8ae
@ -118,7 +118,7 @@ public class PlexPlayer
|
|||||||
public Rank getRepresentedRank()
|
public Rank getRepresentedRank()
|
||||||
{
|
{
|
||||||
int representedLevel = this.getRankFromString().getLevel();
|
int representedLevel = this.getRankFromString().getLevel();
|
||||||
if (!this.adminActive) representedLevel = Math.min(Rank.ADMIN.getLevel(), representedLevel);
|
if (!this.adminActive) representedLevel = Math.min(Rank.OP.getLevel(), representedLevel);
|
||||||
return Rank.values()[representedLevel];
|
return Rank.values()[representedLevel];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user