From 4b81c3e8270a53d246020b2371d95831495d2aa0 Mon Sep 17 00:00:00 2001 From: iceBear67 Date: Sat, 21 Feb 2026 17:53:42 +0800 Subject: [PATCH] adjust `/backup` command's permission level --- src/main/java/io/ib67/sfcraft/BackupCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/ib67/sfcraft/BackupCommands.java b/src/main/java/io/ib67/sfcraft/BackupCommands.java index 7ec5532..27c341b 100644 --- a/src/main/java/io/ib67/sfcraft/BackupCommands.java +++ b/src/main/java/io/ib67/sfcraft/BackupCommands.java @@ -58,7 +58,7 @@ public class BackupCommands { CommandDispatcher 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))