Search in sources :

Example 1 with ListenerASkyBlock

use of combatlogx.expansion.compatibility.askyblock.listener.ListenerASkyBlock in project CombatLogX by SirBlobman.

the class ASkyBlockExpansion method onEnable.

@Override
public void onEnable() {
    if (!checkDependency("ASkyBlock", true)) {
        ICombatLogX plugin = getPlugin();
        ExpansionManager expansionManager = plugin.getExpansionManager();
        expansionManager.disableExpansion(this);
        return;
    }
    new ListenerASkyBlock(this).register();
}
Also used : ExpansionManager(com.github.sirblobman.combatlogx.api.expansion.ExpansionManager) ICombatLogX(com.github.sirblobman.combatlogx.api.ICombatLogX) ListenerASkyBlock(combatlogx.expansion.compatibility.askyblock.listener.ListenerASkyBlock)

Aggregations

ICombatLogX (com.github.sirblobman.combatlogx.api.ICombatLogX)1 ExpansionManager (com.github.sirblobman.combatlogx.api.expansion.ExpansionManager)1 ListenerASkyBlock (combatlogx.expansion.compatibility.askyblock.listener.ListenerASkyBlock)1