Fixed role
This commit is contained in:
@@ -51,6 +51,10 @@ public class SaturnClientConfig {
|
|||||||
public static Formatting getIconColor(UUID uuid) {
|
public static Formatting getIconColor(UUID uuid) {
|
||||||
Role role = ROLES.get(uuid);
|
Role role = ROLES.get(uuid);
|
||||||
|
|
||||||
|
if (role == null) {
|
||||||
|
return Formatting.WHITE;
|
||||||
|
}
|
||||||
|
|
||||||
switch (role) {
|
switch (role) {
|
||||||
case OWNER:
|
case OWNER:
|
||||||
return Formatting.DARK_RED;
|
return Formatting.DARK_RED;
|
||||||
|
|||||||
Reference in New Issue
Block a user