diff --git a/src/main/java/bskyblock/addon/challenges/commands/ChallengesCommand.java b/src/main/java/bskyblock/addon/challenges/commands/ChallengesCommand.java index d7d4303..e4e5deb 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/ChallengesCommand.java +++ b/src/main/java/bskyblock/addon/challenges/commands/ChallengesCommand.java @@ -17,12 +17,12 @@ public class ChallengesCommand extends CompositeCommand { } @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // Open up the challenges GUI if (user.isPlayer()) { new ChallengesPanels(addon, user, args.isEmpty() ? "" : args.get(0), getWorld(), getPermissionPrefix(), getTopLabel()); return true; - } + } return false; } @@ -32,7 +32,7 @@ public class ChallengesCommand extends CompositeCommand { this.setPermission(CHALLENGE_COMMAND); this.setParameters(CHALLENGE_COMMAND + ".parameters"); this.setDescription(CHALLENGE_COMMAND + ".description"); - this.setOnlyPlayer(true); + this.setOnlyPlayer(true); } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/ChallengesAdminImportCommand.java b/src/main/java/bskyblock/addon/challenges/commands/admin/ChallengesAdminImportCommand.java index f5ce64c..51f968a 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/ChallengesAdminImportCommand.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/ChallengesAdminImportCommand.java @@ -24,7 +24,7 @@ public class ChallengesAdminImportCommand extends CompositeCommand { } @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { return addon.getImportManager().importChallenges(user, getWorld(), !args.isEmpty() && args.get(0).equalsIgnoreCase("overwrite")); } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/CreateChallenge.java b/src/main/java/bskyblock/addon/challenges/commands/admin/CreateChallenge.java index 0f73cc4..8a477ff 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/CreateChallenge.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/CreateChallenge.java @@ -34,7 +34,7 @@ public class CreateChallenge extends CompositeCommand { } @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { if (args.isEmpty()) { user.sendRawMessage("not enough args"); return false; diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/CreateSurrounding.java b/src/main/java/bskyblock/addon/challenges/commands/admin/CreateSurrounding.java index 04a26e5..d5dae4c 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/CreateSurrounding.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/CreateSurrounding.java @@ -51,7 +51,7 @@ public class CreateSurrounding extends CompositeCommand implements Listener { } @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { if (args.isEmpty()) { user.sendMessage("challenges.admin.error.no-name"); return false; diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/MakeLevel.java b/src/main/java/bskyblock/addon/challenges/commands/admin/MakeLevel.java index 3cb5310..0cf1d4b 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/MakeLevel.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/MakeLevel.java @@ -57,7 +57,7 @@ public class MakeLevel extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // TODO Auto-generated method stub return false; } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/SetDeployed.java b/src/main/java/bskyblock/addon/challenges/commands/admin/SetDeployed.java index 14f0de9..9061147 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/SetDeployed.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/SetDeployed.java @@ -57,7 +57,7 @@ public class SetDeployed extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // TODO Auto-generated method stub return false; } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/SetDescription.java b/src/main/java/bskyblock/addon/challenges/commands/admin/SetDescription.java index f89af3e..714495f 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/SetDescription.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/SetDescription.java @@ -57,7 +57,7 @@ public class SetDescription extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // TODO Auto-generated method stub return false; } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/SetExp.java b/src/main/java/bskyblock/addon/challenges/commands/admin/SetExp.java index 3250b78..4994a00 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/SetExp.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/SetExp.java @@ -57,7 +57,7 @@ public class SetExp extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // TODO Auto-generated method stub return false; } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/SetFriendlyName.java b/src/main/java/bskyblock/addon/challenges/commands/admin/SetFriendlyName.java index e89dc8b..a99022c 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/SetFriendlyName.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/SetFriendlyName.java @@ -57,7 +57,7 @@ public class SetFriendlyName extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // TODO Auto-generated method stub return false; } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/SetIcon.java b/src/main/java/bskyblock/addon/challenges/commands/admin/SetIcon.java index dd90bb2..d9ce8c4 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/SetIcon.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/SetIcon.java @@ -1,5 +1,5 @@ /** - * + * */ package bskyblock.addon.challenges.commands.admin; @@ -43,7 +43,7 @@ public class SetIcon extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { ItemStack icon = user.getInventory().getItemInMainHand(); if (args.isEmpty() || icon == null) { user.sendMessage("challenges.admin.seticon.description"); diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/SetLevel.java b/src/main/java/bskyblock/addon/challenges/commands/admin/SetLevel.java index f65de5d..90dccac 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/SetLevel.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/SetLevel.java @@ -57,7 +57,7 @@ public class SetLevel extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // TODO Auto-generated method stub return false; } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/SetMaxTimes.java b/src/main/java/bskyblock/addon/challenges/commands/admin/SetMaxTimes.java index c8227bd..26a7357 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/SetMaxTimes.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/SetMaxTimes.java @@ -57,7 +57,7 @@ public class SetMaxTimes extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // TODO Auto-generated method stub return false; } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/SetPerm.java b/src/main/java/bskyblock/addon/challenges/commands/admin/SetPerm.java index 24cb927..e8dd446 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/SetPerm.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/SetPerm.java @@ -57,7 +57,7 @@ public class SetPerm extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // TODO Auto-generated method stub return false; } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/SetRepeatable.java b/src/main/java/bskyblock/addon/challenges/commands/admin/SetRepeatable.java index 89f8d1a..0ec2162 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/SetRepeatable.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/SetRepeatable.java @@ -57,7 +57,7 @@ public class SetRepeatable extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // TODO Auto-generated method stub return false; } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/SetReward.java b/src/main/java/bskyblock/addon/challenges/commands/admin/SetReward.java index e22d64e..d66b8c8 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/SetReward.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/SetReward.java @@ -57,7 +57,7 @@ public class SetReward extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // TODO Auto-generated method stub return false; } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/SetType.java b/src/main/java/bskyblock/addon/challenges/commands/admin/SetType.java index 1581769..a56864d 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/SetType.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/SetType.java @@ -57,7 +57,7 @@ public class SetType extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // TODO Auto-generated method stub return false; } diff --git a/src/main/java/bskyblock/addon/challenges/commands/admin/TakeItems.java b/src/main/java/bskyblock/addon/challenges/commands/admin/TakeItems.java index 71c1d4f..dba84a8 100644 --- a/src/main/java/bskyblock/addon/challenges/commands/admin/TakeItems.java +++ b/src/main/java/bskyblock/addon/challenges/commands/admin/TakeItems.java @@ -57,7 +57,7 @@ public class TakeItems extends CompositeCommand { * @see us.tastybento.bskyblock.api.commands.BSBCommand#execute(us.tastybento.bskyblock.api.commands.User, java.util.List) */ @Override - public boolean execute(User user, List args) { + public boolean execute(User user, String label, List args) { // TODO Auto-generated method stub return false; }