From f524cb61dc311cf62998a87526217a82438d8106 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 17 Feb 2023 14:57:23 +0100 Subject: [PATCH] Final fixes --- .../bungeecore/commands/TeamCommand.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/de/steamwar/bungeecore/commands/TeamCommand.java b/src/de/steamwar/bungeecore/commands/TeamCommand.java index 61851299..f8afef57 100644 --- a/src/de/steamwar/bungeecore/commands/TeamCommand.java +++ b/src/de/steamwar/bungeecore/commands/TeamCommand.java @@ -654,22 +654,4 @@ public class TeamCommand extends SWCommand { } return false; } - - // @Override - public Iterable onTabComplete(CommandSender commandSender, String[] args){ - List tab = new ArrayList<>(); - if(args.length == 2){ - if(args[1].equalsIgnoreCase("event")){ - List coming = Event.getComing(); - coming.forEach(event -> tab.add(event.getEventName())); - }else if(args[1].equalsIgnoreCase("join") || args[1].equalsIgnoreCase("info") || args[1].equalsIgnoreCase("tp")){ - List teams = Team.getAll(); - teams.forEach(team -> { - tab.add(team.getTeamName()); - tab.add(team.getTeamKuerzel()); - }); - } - } - return tab; - } }