Fix custom tab API to allow using as soon as constructed
This commit is contained in:
@@ -245,7 +245,8 @@ public abstract class ProxyServer
|
||||
/**
|
||||
* Gets a new instance of this proxies custom tab list.
|
||||
*
|
||||
* @param player the player to generate this list in the context of
|
||||
* @return a new {@link CustomTabList} instance
|
||||
*/
|
||||
public abstract CustomTabList customTabList();
|
||||
public abstract CustomTabList customTabList(ProxiedPlayer player);
|
||||
}
|
||||
|
@@ -2,7 +2,6 @@ package net.md_5.bungee.api.tab;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import net.md_5.bungee.api.tab.TabListHandler;
|
||||
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
|
||||
@NoArgsConstructor
|
||||
|
Reference in New Issue
Block a user