Search in sources :

Example 1 with ListenerCMI

use of combatlogx.expansion.compatibility.cmi.listener.ListenerCMI in project CombatLogX by SirBlobman.

the class CMIExpansion method onEnable.

@Override
public void onEnable() {
    if (!checkDependency("CMI", true)) {
        ICombatLogX plugin = getPlugin();
        ExpansionManager expansionManager = plugin.getExpansionManager();
        expansionManager.disableExpansion(this);
        return;
    }
    new ListenerCMI(this).register();
}
Also used : ListenerCMI(combatlogx.expansion.compatibility.cmi.listener.ListenerCMI) ExpansionManager(com.github.sirblobman.combatlogx.api.expansion.ExpansionManager) 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 ListenerCMI (combatlogx.expansion.compatibility.cmi.listener.ListenerCMI)1