18 lines
513 B
Java
18 lines
513 B
Java
package de.steamwar.utils;
|
|
|
|
import codecrafter47.bungeetablistplus.BungeeTabListPlus;
|
|
import de.codecrafter47.taboverlay.TabView;
|
|
import lombok.experimental.UtilityClass;
|
|
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
|
|
|
@UtilityClass
|
|
public class BungeeTabListPlusFixer {
|
|
|
|
public static void remove(ProxiedPlayer player) {
|
|
TabView tabView = BungeeTabListPlus.getInstance().getTabViewManager().getTabView(player);
|
|
if (tabView != null) {
|
|
tabView.deactivate();
|
|
}
|
|
}
|
|
}
|