Skip to content

Commit

Permalink
Fixes reset issues. Uses BentoBox command. MUST USE 1.7.0-SNAPSHOT
Browse files Browse the repository at this point in the history
or later.
#27
  • Loading branch information
tastybento committed Aug 31, 2019
1 parent f73b94d commit 1aee7ef
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 110 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<powermock.version>2.0.2</powermock.version>
<!-- More visible way how to change dependency versions -->
<spigot.version>1.14.4-R0.1-SNAPSHOT</spigot.version>
<bentobox.version>1.6.0-SNAPSHOT</bentobox.version>
<bentobox.version>1.7.0-SNAPSHOT</bentobox.version>
<!-- Revision variable removes warning about dynamic version -->
<revision>${build.version}-SNAPSHOT</revision>
<!-- Do not change unless you want different name for local builds. -->
Expand Down
108 changes: 0 additions & 108 deletions src/main/java/world/bentobox/skygrid/commands/ResetCommand.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import world.bentobox.bentobox.api.commands.island.IslandExpelCommand;
import world.bentobox.bentobox.api.commands.island.IslandInfoCommand;
import world.bentobox.bentobox.api.commands.island.IslandLanguageCommand;
import world.bentobox.bentobox.api.commands.island.IslandResetCommand;
import world.bentobox.bentobox.api.commands.island.IslandResetnameCommand;
import world.bentobox.bentobox.api.commands.island.IslandSethomeCommand;
import world.bentobox.bentobox.api.commands.island.IslandSetnameCommand;
Expand Down Expand Up @@ -42,7 +43,7 @@ public void setup() {
setPermission("skygrid");
// Set up subcommands
new IslandInfoCommand(this);
new ResetCommand(this);
new IslandResetCommand(this, true);
new IslandSetnameCommand(this);
new IslandResetnameCommand(this);
new IslandSethomeCommand(this);
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ permissions:
skygrid.skygrid:
description: Use the skygrid command
default: true
skygrid.island.create:
description: Allow creating of a player area
default: true
skygrid.island.home:
description: Allow teleporting to player area
default: true
Expand Down

0 comments on commit 1aee7ef

Please sign in to comment.