diff --git a/pom.xml b/pom.xml
index f6ba910..88bafb0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,7 +48,7 @@
us.tastybento
bskyblock
- alpha-0.0.1
+ LATEST
bskyblock.addon
diff --git a/src/main/java/bskyblock/addon/level/commands/AdminLevel.java b/src/main/java/bskyblock/addon/level/commands/AdminLevel.java
index ae99f2a..2ad1aef 100644
--- a/src/main/java/bskyblock/addon/level/commands/AdminLevel.java
+++ b/src/main/java/bskyblock/addon/level/commands/AdminLevel.java
@@ -19,7 +19,7 @@ public class AdminLevel extends CompositeCommand {
}
@Override
- public boolean execute(User user, List args) {
+ public boolean execute(User user, String label, List args) {
if (args.size() == 2) {
// Get world
World world = null;
@@ -38,7 +38,7 @@ public class AdminLevel extends CompositeCommand {
return true;
} else {
if (user.isPlayer()) {
- levelPlugin.calculateIslandLevel(world, user, playerUUID, false, getPermissionPrefix());
+ levelPlugin.calculateIslandLevel(world, user, playerUUID, false, getPermissionPrefix());
} else {
levelPlugin.calculateIslandLevel(world, user, playerUUID, true, getPermissionPrefix());
}
diff --git a/src/main/java/bskyblock/addon/level/commands/AdminTop.java b/src/main/java/bskyblock/addon/level/commands/AdminTop.java
index f682043..08aee5b 100644
--- a/src/main/java/bskyblock/addon/level/commands/AdminTop.java
+++ b/src/main/java/bskyblock/addon/level/commands/AdminTop.java
@@ -21,7 +21,7 @@ public class AdminTop extends CompositeCommand {
}
@Override
- public boolean execute(User user, List args) {
+ public boolean execute(User user, String label, List args) {
// Get world
World world = null;
if (args.isEmpty()) {
diff --git a/src/main/java/bskyblock/addon/level/commands/IslandLevel.java b/src/main/java/bskyblock/addon/level/commands/IslandLevel.java
index 1103e16..fdb43e9 100644
--- a/src/main/java/bskyblock/addon/level/commands/IslandLevel.java
+++ b/src/main/java/bskyblock/addon/level/commands/IslandLevel.java
@@ -8,16 +8,16 @@ import us.tastybento.bskyblock.api.commands.CompositeCommand;
import us.tastybento.bskyblock.api.user.User;
public class IslandLevel extends CompositeCommand {
-
+
private final Level levelPlugin;
-
+
public IslandLevel(Level levelPlugin, CompositeCommand parent) {
super(parent, "level");
this.levelPlugin = levelPlugin;
}
@Override
- public boolean execute(User user, List args) {
+ public boolean execute(User user, String label, List args) {
if (!args.isEmpty()) {
// Asking for another player's level?
// Convert name to a UUID
@@ -45,7 +45,7 @@ public class IslandLevel extends CompositeCommand {
this.setPermission("island.level");
this.setParameters("island.level.parameters");
this.setDescription("island.level.description");
- this.setOnlyPlayer(true);
+ this.setOnlyPlayer(true);
}
}
diff --git a/src/main/java/bskyblock/addon/level/commands/IslandTop.java b/src/main/java/bskyblock/addon/level/commands/IslandTop.java
index 211783e..6724351 100644
--- a/src/main/java/bskyblock/addon/level/commands/IslandTop.java
+++ b/src/main/java/bskyblock/addon/level/commands/IslandTop.java
@@ -16,7 +16,7 @@ public class IslandTop extends CompositeCommand {
}
@Override
- public boolean execute(User user, List list) {
+ public boolean execute(User user, String label, List list) {
plugin.getTopTen().getGUI(getWorld(), user, getPermissionPrefix());
return true;
}
@@ -26,7 +26,7 @@ public class IslandTop extends CompositeCommand {
this.setPermission("island.top");
this.setDescription("island.top.description");
-
+
}
}