From e73d84afa3877611882ed8ef9f5fa0fb76a3979f Mon Sep 17 00:00:00 2001 From: Sekwah Date: Wed, 30 Jun 2021 01:31:39 +0100 Subject: [PATCH] fix: Access to portal warp command locked behind wrong perm Fixes #272 --- src/main/resources/plugin.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 8c64e90..d7308d3 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -9,7 +9,7 @@ commands: description: The main command for the advanced portals aliases: [portals, aportals, portal, ap] usage: / - permission: advancedportals.portal + permission: advancedportals.portalcommand destination: description: Can be used to access portal destinations. aliases: [desti] @@ -50,6 +50,9 @@ permissions: advancedportals.portal: description: Allows use of portal commands default: op + advancedportals.portalcommand: + description: Access to the portal command. This is seperate to allow access to portal warps without the rest. + default: true advancedportals.build: description: Allows you to build in the portal regions default: op