Fixed permissions
This commit is contained in:
parent
c8eb149ff8
commit
a564db644a
|
@ -8,4 +8,7 @@ permissions:
|
|||
bskyblock.island.warp:
|
||||
description: Player can use warp or warps commands
|
||||
default: true
|
||||
acidisland.island.warp:
|
||||
description: Player can use warp or warps commands
|
||||
default: true
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class WarpCommand extends CompositeCommand {
|
|||
|
||||
@Override
|
||||
public void setup() {
|
||||
this.setPermission(getPermissionPrefix() + "island.warp");
|
||||
this.setPermission("island.warp");
|
||||
this.setOnlyPlayer(true);
|
||||
this.setParameters("warp.help.parameters");
|
||||
this.setDescription("warp.help.description");
|
||||
|
|
|
@ -27,7 +27,7 @@ public class WarpsCommand extends CompositeCommand {
|
|||
*/
|
||||
@Override
|
||||
public void setup() {
|
||||
this.setPermission(getPermissionPrefix() + "island.warp");
|
||||
this.setPermission("island.warp");
|
||||
this.setOnlyPlayer(true);
|
||||
this.setDescription("warps.help.description");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue