From fdd4713dfb249e85fd5616a403125507f2448341 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Tue, 20 Jun 2023 22:05:24 +0200 Subject: [PATCH] Fix command permission for deleting a map from a storage --- .../de/bluecolored/bluemap/common/plugin/commands/Commands.java | 1 + 1 file changed, 1 insertion(+) diff --git a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/commands/Commands.java b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/commands/Commands.java index fddba475..036fbacf 100644 --- a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/commands/Commands.java +++ b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/commands/Commands.java @@ -205,6 +205,7 @@ public void init() { .executes(this::storagesInfoCommand) .then(literal("delete") + .requires(requirements("bluemap.delete")) .then(argument("map", StringArgumentType.string()) .executes(this::storagesDeleteMapCommand))))