Replace toggle permission with plots.toggle

This commit is contained in:
N0tMyFaultOG 2020-12-28 16:06:24 +01:00
parent 4200bbfd0a
commit 3702caa25f
No known key found for this signature in database
GPG Key ID: 823348042DA95A81

View File

@ -33,7 +33,7 @@ import net.kyori.adventure.text.minimessage.Template;
@CommandDeclaration(command = "toggle", @CommandDeclaration(command = "toggle",
aliases = {"attribute"}, aliases = {"attribute"},
permission = "plots.use", permission = "plots.toggle",
usage = "/plot toggle <chat | chatspy | clear-confirmation | time | titles | worldedit>", usage = "/plot toggle <chat | chatspy | clear-confirmation | time | titles | worldedit>",
requiredType = RequiredType.NONE, requiredType = RequiredType.NONE,
category = CommandCategory.SETTINGS) category = CommandCategory.SETTINGS)