mirror of
https://github.com/plexusorg/Plex.git
synced 2025-06-28 14:36:41 +00:00
this is quite literally the most awful thing i have ever done
This commit is contained in:
@ -56,6 +56,11 @@ public class PlayerMeta
|
||||
{
|
||||
return NamedTextColor.DARK_PURPLE;
|
||||
}
|
||||
String group = VaultHook.getPermission().getPrimaryGroup(null, plexPlayer.getPlayer());
|
||||
if (Plex.get().getConfig().isSet("colors." + group))
|
||||
{
|
||||
return NamedTextColor.namedColor(Plex.get().getConfig().getInt("colors." + group));
|
||||
}
|
||||
return NamedTextColor.WHITE;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user