Search in sources :

Example 1 with ListenerVanish

use of combatlogx.expansion.compatibility.supervanish.listener.ListenerVanish in project CombatLogX by SirBlobman.

the class SuperVanishExpansion method onEnable.

@Override
public void onEnable() {
    if (!checkDependency("SuperVanish", true) && !checkDependency("PremiumVanish", true)) {
        ICombatLogX plugin = getPlugin();
        ExpansionManager expansionManager = plugin.getExpansionManager();
        expansionManager.disableExpansion(this);
        return;
    }
    new ListenerVanish(this).register();
}
Also used : ListenerVanish(combatlogx.expansion.compatibility.supervanish.listener.ListenerVanish) 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 ListenerVanish (combatlogx.expansion.compatibility.supervanish.listener.ListenerVanish)1