Search in sources :

Example 1 with ListenerSuperiorSkyblock

use of combatlogx.expansion.compatibility.superior.skyblock.listener.ListenerSuperiorSkyblock in project CombatLogX by SirBlobman.

the class SuperiorSkyblockExpansion method onEnable.

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

Aggregations

ICombatLogX (com.github.sirblobman.combatlogx.api.ICombatLogX)1 ExpansionManager (com.github.sirblobman.combatlogx.api.expansion.ExpansionManager)1 ListenerSuperiorSkyblock (combatlogx.expansion.compatibility.superior.skyblock.listener.ListenerSuperiorSkyblock)1