Add island.team.promote permission

This commit is contained in:
YellowZaki 2019-02-08 02:54:24 +01:00 committed by GitHub
parent 2599839fad
commit c949239ed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {
}
}
}
}