this is quite literally the most awful thing i have ever done

This commit is contained in:
2023-08-31 20:20:18 -05:00
parent 5929fd9ddc
commit 28c57f3a52
2 changed files with 28 additions and 0 deletions

View File

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