diff --git a/common/src/main/java/net/william278/huskclaims/highlighter/HighlighterProvider.java b/common/src/main/java/net/william278/huskclaims/highlighter/HighlighterProvider.java index f8f8ffaa..2ad33e0d 100644 --- a/common/src/main/java/net/william278/huskclaims/highlighter/HighlighterProvider.java +++ b/common/src/main/java/net/william278/huskclaims/highlighter/HighlighterProvider.java @@ -69,7 +69,7 @@ default Highlighter getHighlighter(@NotNull OnlineUser user) { */ default void registerHighlighter(@NotNull Highlighter highlighter) { getHighlighters().add(highlighter); - getHighlighters().sort(Comparator.comparingInt(Highlighter::getPriority)); + getHighlighters().sort(Comparator.comparingInt(Highlighter::getPriority).reversed()); getHighlighterCache().clear(); }