mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-27 11:37:36 +01:00
Add island.team.promote permission
This commit is contained in:
parent
2599839fad
commit
c949239ed6
@ -15,7 +15,7 @@ public class IslandTeamPromoteCommand extends CompositeCommand {
|
||||
|
||||
@Override
|
||||
public void setup() {
|
||||
setPermission("island.team");
|
||||
setPermission("island.team.promote");
|
||||
setOnlyPlayer(true);
|
||||
if (this.getLabel().equals("promote")) {
|
||||
setParametersHelp("commands.island.team.promote.parameters");
|
||||
@ -87,4 +87,4 @@ public class IslandTeamPromoteCommand extends CompositeCommand {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user