fix mistake

This commit is contained in:
ayunami2000 2022-04-08 14:02:56 -04:00
parent d756dcb2f4
commit 15b50ac8ae

View File

@ -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];
} }