Fixed problem
Some checks failed
CI Tests & Publish / build (push) Failing after 3m3s

Added missing javadoc
Bumped required papiproxybridge version
This commit is contained in:
AlexDev_ 2025-03-23 12:13:57 +01:00
parent 14c5346c78
commit 1133729575
3 changed files with 8 additions and 4 deletions

View File

@ -9,4 +9,4 @@ plugin_description=A beautiful and versatile TAB list plugin for Velocity proxie
velocity_api_version=3.4.0
velocity_minimum_build=453
papi_proxy_bridge_minimum_version=1.7
papi_proxy_bridge_minimum_version=1.8

View File

@ -215,6 +215,13 @@ public class VelocitabAPI {
return plugin.getTabGroupsManager().getGroup(name);
}
/**
* Gets a group from the server.
*
* @param server The server to get the group from.
* @return An optional Group object containing the group from the server, or an empty optional if no group exists with that name.
* @since 1.6.6
*/
public Optional<Group> getGroupFromServer(@NotNull String server) {
return plugin.getTabGroupsManager().getGroupFromServer(server, plugin);
}

View File

@ -555,9 +555,6 @@ public class PlayerTabList {
private void updateRelationalDisplayName(@NotNull TabPlayer tabPlayer, @NotNull List<TabPlayer> players) {
final Group group = tabPlayer.getGroup();
final String stripped = plugin.getPlaceholderManager().stripVelocitabRelPlaceholders(group.format());
checkStrippedString(stripped, group);
final String formatPlaceholders = plugin.getPlaceholderManager().applyPlaceholders(tabPlayer, group.format());
final String formatConditionalPlaceholders = plugin.getPlaceholderManager().formatVelocitabPlaceholders(formatPlaceholders, tabPlayer, null);