Search in sources :

Example 1 with ListenerEssentials

use of combatlogx.expansion.compatibility.essentials.listener.ListenerEssentials in project CombatLogX by SirBlobman.

the class EssentialsExpansion method onEnable.

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