diff --git a/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/flairs/FlairRenderer.java b/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/flairs/FlairRenderer.java index 67dd2a0..a83b821 100644 --- a/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/flairs/FlairRenderer.java +++ b/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/flairs/FlairRenderer.java @@ -59,7 +59,7 @@ public class FlairRenderer implements PartialNameRenderer { return user.minecraft_flair() .stream() - .filter(flair -> realms.contains(flair.realm)) + .filter(flair -> realms.contains(flair.realm) && flair.text != null && !flair.text.isEmpty()) .sorted((flair1, flair2) -> flair1.priority - flair2.priority) .limit(flairConfiguration.maxFlairs() < 0 ? Long.MAX_VALUE : flairConfiguration.maxFlairs()) .sorted((flair1, flair2) -> flair2.priority - flair1.priority)