From a17d2b18a96dbf31621deed6d0d3ac39839f0cef Mon Sep 17 00:00:00 2001 From: Nico Britze Date: Thu, 15 Feb 2024 21:38:26 +0100 Subject: [PATCH] Add DisplayProvider --- .../java/de/exceptionflug/realms/api/DisplayProvider.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/exceptionflug/realms/api/DisplayProvider.java b/src/main/java/de/exceptionflug/realms/api/DisplayProvider.java index 422dee1..5f1e525 100644 --- a/src/main/java/de/exceptionflug/realms/api/DisplayProvider.java +++ b/src/main/java/de/exceptionflug/realms/api/DisplayProvider.java @@ -53,14 +53,14 @@ public interface DisplayProvider { * * @return The {@link Component} representing the current tab list suffix or null if none is set. */ - Component getTabSuffix(); + Component getTabSuffix(Player player); /** * Retrieves the current suffix set for players in chat messages. * * @return The {@link Component} representing the current chat message suffix or null if none is set. */ - Component getChatSuffix(); + Component getChatSuffix(Player player); /** * Retrieves the current custom prefix set for players in the tab list. If you want to get the prefix of the @@ -68,7 +68,7 @@ public interface DisplayProvider { * * @return The {@link Component} representing the current tab list prefix or null if none is set. */ - Component getCustomTabPrefix(); + Component getCustomTabPrefix(Player player); /** * Retrieves the current custom prefix set for players in chat messages. If you want to get the prefix of the @@ -76,6 +76,6 @@ public interface DisplayProvider { * * @return The {@link Component} representing the current chat message prefix or null if none is set. */ - Component getCustomChatPrefix(); + Component getCustomChatPrefix(Player player); }