Removed debug.

This commit is contained in:
tastybento 2018-05-28 15:44:48 -07:00
parent d5dd7475a7
commit 6c6dc4afeb
3 changed files with 5 additions and 13 deletions

View File

@ -810,5 +810,10 @@ public class AISettings implements ISettings<AISettings>, WorldSettings {
this.chestItems = chestItems;
}
@Override
public String getPermissionPrefix() {
return "acidisland";
}
}

View File

@ -34,8 +34,6 @@ public class AcidIsland extends Addon {
// Create worlds
aiw = new AcidIslandWorld(this);
// TODO Register settings
//getBSkyBlock().getSettings().register(settings);
}
@Override

View File

@ -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<List<String>> tabComplete(User user, String alias, List<String> args) {
List<String> options = getPlugin().getIWM().getOverWorldNames().stream().collect(Collectors.toList());
String lastArg = !args.isEmpty() ? args.get(args.size()-1) : "";
return Optional.of(Util.tabLimit(options, lastArg));
}
}