SteamWar/BauSystem
Archiviert
13
0

Fix TabCompleteException #118

Manuell gemergt
YoyoNow hat 1 Commits von FixTabComplete nach master 2020-11-17 17:48:00 +01:00 zusammengeführt
2 geänderte Dateien mit 2 neuen und 10 gelöschten Zeilen

Datei anzeigen

@ -29,11 +29,7 @@ import java.util.List;
public class WECommandFlopyp extends WECommand {
public List<String> onTabComplete(CommandSender sender, Command command, String s, String[] args) {
List<String> tabCompletes = Arrays.asList("-a", "-b", "-e", "-n", "-o", "-s", "-m");
if (args.length == 0) {
return tabCompletes;
}
return manageList(tabCompletes, args, args.length - 1);
return Arrays.asList("-a", "-b", "-e", "-n", "-o", "-s", "-m");
}
@Override

Datei anzeigen

@ -29,11 +29,7 @@ import java.util.List;
public class WECommandPaste extends WECommand {
public List<String> onTabComplete(CommandSender sender, Command command, String s, String[] args) {
List<String> tabCompletes = Arrays.asList("-a", "-b", "-e", "-n", "-o", "-s", "-m");
if (args.length == 0) {
return tabCompletes;
}
return manageList(tabCompletes, args, args.length - 1);
return Arrays.asList("-a", "-b", "-e", "-n", "-o", "-s", "-m");
}
@Override