SteamWar/BauSystem
Archiviert
13
0

Merge pull request 'Fix TabCompleteException' (#118) from FixTabComplete into master

Reviewed-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
YoyoNow 2020-11-17 17:47:59 +01:00
Commit 6f74360f3b
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