Search in sources :

Example 1 with FactionsHelper

use of com.github.sirblobman.api.factions.FactionsHelper in project CombatLogX by SirBlobman.

the class FactionsExpansion method checkDependencies.

@Override
public boolean checkDependencies() {
    ICombatLogX combatLogX = getPlugin();
    JavaPlugin plugin = combatLogX.getPlugin();
    FactionsHelper factionsHelper = new FactionsHelper(plugin);
    this.factionsHandler = factionsHelper.getFactionsHandler();
    return (this.factionsHandler != null);
}
Also used : FactionsHelper(com.github.sirblobman.api.factions.FactionsHelper) JavaPlugin(org.bukkit.plugin.java.JavaPlugin) ICombatLogX(com.github.sirblobman.combatlogx.api.ICombatLogX)

Aggregations

FactionsHelper (com.github.sirblobman.api.factions.FactionsHelper)1 ICombatLogX (com.github.sirblobman.combatlogx.api.ICombatLogX)1 JavaPlugin (org.bukkit.plugin.java.JavaPlugin)1