diff --git a/src/main/java/bskyblock/addon/acidisland/AISettings.java b/src/main/java/bskyblock/addon/acidisland/AISettings.java index e32f2a9..f946641 100644 --- a/src/main/java/bskyblock/addon/acidisland/AISettings.java +++ b/src/main/java/bskyblock/addon/acidisland/AISettings.java @@ -810,5 +810,10 @@ public class AISettings implements ISettings, WorldSettings { this.chestItems = chestItems; } + @Override + public String getPermissionPrefix() { + return "acidisland"; + } + } diff --git a/src/main/java/bskyblock/addon/acidisland/AcidIsland.java b/src/main/java/bskyblock/addon/acidisland/AcidIsland.java index 539c50b..ef0063a 100644 --- a/src/main/java/bskyblock/addon/acidisland/AcidIsland.java +++ b/src/main/java/bskyblock/addon/acidisland/AcidIsland.java @@ -34,8 +34,6 @@ public class AcidIsland extends Addon { // Create worlds aiw = new AcidIslandWorld(this); - // TODO Register settings - //getBSkyBlock().getSettings().register(settings); } @Override diff --git a/src/main/java/bskyblock/addon/acidisland/commands/AiCommand.java b/src/main/java/bskyblock/addon/acidisland/commands/AiCommand.java index 1862310..445eafd 100755 --- a/src/main/java/bskyblock/addon/acidisland/commands/AiCommand.java +++ b/src/main/java/bskyblock/addon/acidisland/commands/AiCommand.java @@ -2,8 +2,6 @@ package bskyblock.addon.acidisland.commands; import java.util.ArrayList; import java.util.List; -import java.util.Optional; -import java.util.stream.Collectors; import bskyblock.addon.acidisland.AcidIsland; import us.tastybento.bskyblock.api.addons.Addon; @@ -22,7 +20,6 @@ import us.tastybento.bskyblock.commands.island.IslandSetnameCommand; import us.tastybento.bskyblock.commands.island.IslandSettingsCommand; import us.tastybento.bskyblock.commands.island.IslandUnbanCommand; import us.tastybento.bskyblock.commands.island.teams.IslandTeamCommand; -import us.tastybento.bskyblock.util.Util; public class AiCommand extends CompositeCommand { @@ -79,12 +76,4 @@ public class AiCommand extends CompositeCommand { return false; } - - @Override - public Optional> tabComplete(User user, String alias, List args) { - List options = getPlugin().getIWM().getOverWorldNames().stream().collect(Collectors.toList()); - String lastArg = !args.isEmpty() ? args.get(args.size()-1) : ""; - return Optional.of(Util.tabLimit(options, lastArg)); - } - }