IslandResetCommand now requires "[gamemode].island.reset" permission

Implements https://github.com/BentoBoxWorld/BentoBox/issues/1207
This commit is contained in:
Florian CUNY 2020-04-03 09:34:57 +02:00
parent 02b16c233c
commit 960a8a7a00

View File

@ -43,7 +43,7 @@ public class IslandResetCommand extends ConfirmableCommand {
@Override
public void setup() {
setPermission("island.create");
setPermission("island.reset");
setOnlyPlayer(true);
setParametersHelp("commands.island.reset.parameters");
setDescription("commands.island.reset.description");