From 15b50ac8ae9b6c8cdc4feff536601f94f9c3f049 Mon Sep 17 00:00:00 2001 From: ayunami2000 Date: Fri, 8 Apr 2022 14:02:56 -0400 Subject: [PATCH] fix mistake --- src/main/java/dev/plex/player/PlexPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/plex/player/PlexPlayer.java b/src/main/java/dev/plex/player/PlexPlayer.java index 1a3657f..9e9c3e3 100644 --- a/src/main/java/dev/plex/player/PlexPlayer.java +++ b/src/main/java/dev/plex/player/PlexPlayer.java @@ -118,7 +118,7 @@ public class PlexPlayer public Rank getRepresentedRank() { 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]; }