Fix command permission for deleting a map from a storage

This commit is contained in:
Lukas Rieger (Blue) 2023-06-20 22:05:24 +02:00
parent b4b3e72d51
commit fdd4713dfb
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2

View File

@ -205,6 +205,7 @@ public void init() {
.executes(this::storagesInfoCommand) .executes(this::storagesInfoCommand)
.then(literal("delete") .then(literal("delete")
.requires(requirements("bluemap.delete"))
.then(argument("map", StringArgumentType.string()) .then(argument("map", StringArgumentType.string())
.executes(this::storagesDeleteMapCommand)))) .executes(this::storagesDeleteMapCommand))))