From 5dc6e700cbcbc01833a02a193f660a286b934898 Mon Sep 17 00:00:00 2001 From: Keuin Date: Fri, 13 Jan 2023 02:49:57 +0800 Subject: Code cleanup. --- src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java') diff --git a/src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java b/src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java index b502ad5..154a39f 100644 --- a/src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java +++ b/src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java @@ -85,7 +85,5 @@ public final class KBCommandsRegister { .requires(Permissions.require("kb.prev", DEFAULT_REQUIRED_LEVEL)) .executes(KBCommands::prev))); -// // register /kb setMethod for selecting backup method (zip, incremental) -// dispatcher.register(CommandManager.literal("kb").then(CommandManager.literal("setMethod").then(CommandManager.argument("backupMethod", StringArgumentType.string()).suggests(BackupMethodSuggestionProvider.getProvider()).requires(PermissionValidator::op).executes(KBCommands::setMethod)))); } } -- cgit v1.2.3