mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-04 00:46:40 +00:00
final update before looking into...
...reusing preexisting plex code for different parts. dont merge until review has been done.
This commit is contained in:
@ -115,6 +115,13 @@ public class PlexPlayer
|
||||
}
|
||||
}
|
||||
|
||||
public Rank getRepresentedRank()
|
||||
{
|
||||
int representedLevel = this.getRankFromString().getLevel();
|
||||
if (!this.adminActive) representedLevel = Math.min(Rank.ADMIN.getLevel(), representedLevel);
|
||||
return Rank.values()[representedLevel];
|
||||
}
|
||||
|
||||
public void loadPunishments()
|
||||
{
|
||||
if (Plex.get().getStorageType() != StorageType.MONGODB)
|
||||
|
Reference in New Issue
Block a user