Search in sources :

Example 1 with ListenerLands

use of combatlogx.expansion.compatibility.region.lands.listener.ListenerLands in project CombatLogX by SirBlobman.

the class LandsExpansion method afterEnable.

@Override
public void afterEnable() {
    ICombatLogX plugin = getPlugin();
    ExpansionManager expansionManager = plugin.getExpansionManager();
    Optional<Expansion> optionalNewbieHelper = expansionManager.getExpansion("NewbieHelper");
    if (optionalNewbieHelper.isPresent()) {
        new ListenerLands(this).register();
    }
}
Also used : ListenerLands(combatlogx.expansion.compatibility.region.lands.listener.ListenerLands) ExpansionManager(com.github.sirblobman.combatlogx.api.expansion.ExpansionManager) ICombatLogX(com.github.sirblobman.combatlogx.api.ICombatLogX) RegionExpansion(com.github.sirblobman.combatlogx.api.expansion.region.RegionExpansion) Expansion(com.github.sirblobman.combatlogx.api.expansion.Expansion)

Aggregations

ICombatLogX (com.github.sirblobman.combatlogx.api.ICombatLogX)1 Expansion (com.github.sirblobman.combatlogx.api.expansion.Expansion)1 ExpansionManager (com.github.sirblobman.combatlogx.api.expansion.ExpansionManager)1 RegionExpansion (com.github.sirblobman.combatlogx.api.expansion.region.RegionExpansion)1 ListenerLands (combatlogx.expansion.compatibility.region.lands.listener.ListenerLands)1