adjust /backup command's permission level

This commit is contained in:
iceBear67 committed 2026-02-21 17:53:42 +08:00
1 parent 86c069b96d
commit 4b81c3e827
1 file changed
+1 -1
@@ -58,7 +58,7 @@ public class BackupCommands {
CommandDispatcher<CommandSourceStack> dispatcher,
CommandBuildContext registry, Commands.CommandSelection env) {
dispatcher.register(literal("backup")
.requires(it -> it.hasPermission(3))
.requires(it -> it.hasPermission(4))
.then(literal("help").executes(this::cmdHelp))
.then(literal("list").executes(this::cmdList))
.then(literal("cancelrestore").executes(this::cmdCancelRestore))