Search in sources :

Example 1 with ListenerCrackShot

use of combatlogx.expansion.compatibility.crackshot.listener.ListenerCrackShot in project CombatLogX by SirBlobman.

the class CrackShotExpansion method onEnable.

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

Aggregations

ICombatLogX (com.github.sirblobman.combatlogx.api.ICombatLogX)1 ExpansionManager (com.github.sirblobman.combatlogx.api.expansion.ExpansionManager)1 ListenerCrackShot (combatlogx.expansion.compatibility.crackshot.listener.ListenerCrackShot)1