public PlayerData pD = BungeeEssentials.getInstance().getPlayerData();
public BECommand(String name, String permission) {
super(BungeeEssentials.getInstance().getMain(name), permission, BungeeEssentials.getInstance().getAlias(name));
}
public Iterable<String> tabPlayers(CommandSender sender, String search) {
<BUG>return BungeeEssentials.getInstance().getMessenger().getVisiblePlayers(sender.hasPermission(Permissions.Admin.SEE_HIDDEN)).stream().filter(player -> !player.getName().equals(sender.getName()) && player.getName().toLowerCase().startsWith(search.toLowerCase())).map(ProxiedPlayer::getName).collect(Collectors.toSet());
</BUG>
}
protected Iterable<String> tabStrings(String search, String[] strings) {
Set<String> matches = new HashSet<>();

public PlayerData pD = BungeeEssentials.getInstance().getPlayerData();
public BECommand(String name, String permission) {
super(BungeeEssentials.getInstance().getMain(name), permission, BungeeEssentials.getInstance().getAlias(name));
}
public Iterable<String> tabPlayers(CommandSender sender, String search) {
return BungeeEssentials.getInstance().getMessenger().getVisiblePlayers(Permissions.hasPerm(sender, Permissions.Admin.SEE_HIDDEN)).stream().filter(player -> !player.getName().equals(sender.getName()) && player.getName().toLowerCase().startsWith(search.toLowerCase())).map(ProxiedPlayer::getName).collect(Collectors.toSet());
}
protected Iterable<String> tabStrings(String search, String[] strings) {
Set<String> matches = new HashSet<>();
