Small update

This commit is contained in:
tastybento 2018-05-28 15:43:29 -07:00
parent c778f03cf0
commit a2d21f0242

View File

@ -36,7 +36,6 @@ public class ChallengesAddon extends Addon {
// AcidIsland hook in // AcidIsland hook in
getServer().getScheduler().runTask(getBSkyBlock(), () -> { getServer().getScheduler().runTask(getBSkyBlock(), () -> {
this.getBSkyBlock().getAddonsManager().getAddonByName("AcidIsland").ifPresent(a -> { this.getBSkyBlock().getAddonsManager().getAddonByName("AcidIsland").ifPresent(a -> {
getLogger().info("DEBUG: " + getBSkyBlock().getCommandsManager().listCommands());
CompositeCommand acidIslandCmd = getBSkyBlock().getCommandsManager().getCommand("ai"); CompositeCommand acidIslandCmd = getBSkyBlock().getCommandsManager().getCommand("ai");
new ChallengesCommand(this, acidIslandCmd); new ChallengesCommand(this, acidIslandCmd);
CompositeCommand acidCmd = getBSkyBlock().getCommandsManager().getCommand("acid"); CompositeCommand acidCmd = getBSkyBlock().getCommandsManager().getCommand("acid");