Remove ConsoleExecutable from /delhome, /delwarp, /edithome, /editwarp

This commit is contained in:
William committed 2022-08-24 17:01:10 +01:00
1 parent f12490951a
commit b44750381f
4 files changed
+4 -24

No files matched your search

@@ -10,7 +10,7 @@ import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
public class DelWarpCommand extends CommandBase implements TabCompletable, ConsoleExecutable {
public class DelWarpCommand extends CommandBase implements TabCompletable {
protected DelWarpCommand(@NotNull HuskHomes implementor) {
super("delwarp", Permission.COMMAND_DELETE_WARP, implementor);
@@ -33,11 +33,6 @@ public class DelWarpCommand extends CommandBase implements TabCompletable, Conso
}
}
@Override
public void onConsoleExecute(@NotNull String[] args) {
//todo
}
@Override
public @NotNull List<String> onTabComplete(@NotNull String[] args, @Nullable OnlineUser user) {
return args.length > 1 ? Collections.emptyList() : plugin.getCache().warps.stream()