Fixed the island untrust command not using the trust permission

It was using the coop permission instead
This commit is contained in:
Florian CUNY 2020-01-24 21:19:13 +01:00
parent 3b0f023fac
commit 7e17474e83

View File

@ -28,7 +28,7 @@ public class IslandTeamUntrustCommand extends CompositeCommand {
@Override
public void setup() {
setPermission("island.team.coop");
setPermission("island.team.trust");
setOnlyPlayer(true);
setParametersHelp("commands.island.team.untrust.parameters");
setDescription("commands.island.team.untrust.description");