From 960a8a7a0019662b954c1f4f7ae6d5e53554421c Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Fri, 3 Apr 2020 09:34:57 +0200 Subject: [PATCH] IslandResetCommand now requires "[gamemode].island.reset" permission Implements https://github.com/BentoBoxWorld/BentoBox/issues/1207 --- .../bentobox/api/commands/island/IslandResetCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/world/bentobox/bentobox/api/commands/island/IslandResetCommand.java b/src/main/java/world/bentobox/bentobox/api/commands/island/IslandResetCommand.java index 27f57b993..834e4ba90 100644 --- a/src/main/java/world/bentobox/bentobox/api/commands/island/IslandResetCommand.java +++ b/src/main/java/world/bentobox/bentobox/api/commands/island/IslandResetCommand.java @@ -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");