use of com.github.sirblobman.combatlogx.api.expansion.ExpansionManager in project CombatLogX by SirBlobman.
the class BSkyBlockExpansion method onEnable.
@Override
public void onEnable() {
if (!checkDependency("BentoBox", true)) {
ICombatLogX plugin = getPlugin();
ExpansionManager expansionManager = plugin.getExpansionManager();
expansionManager.disableExpansion(this);
return;
}
if (!HookBentoBox.findBSkyBlock(this)) {
ICombatLogX plugin = getPlugin();
ExpansionManager expansionManager = plugin.getExpansionManager();
expansionManager.disableExpansion(this);
return;
}
new ListenerBSkyBlock(this).register();
}
use of com.github.sirblobman.combatlogx.api.expansion.ExpansionManager in project CombatLogX by SirBlobman.
the class CrackShotExpansion method onEnable.
@Override
public void onEnable() {
if (!checkDependency("CrackShot", true)) {
ICombatLogX plugin = getPlugin();
ExpansionManager expansionManager = plugin.getExpansionManager();
expansionManager.disableExpansion(this);
return;
}
new ListenerCrackShot(this).register();
}
use of com.github.sirblobman.combatlogx.api.expansion.ExpansionManager in project CombatLogX by SirBlobman.
the class FeatherBoardExpansion method onEnable.
@Override
public void onEnable() {
if (!checkDependency("FeatherBoard", true, "5")) {
ICombatLogX plugin = getPlugin();
ExpansionManager expansionManager = plugin.getExpansionManager();
expansionManager.disableExpansion(this);
return;
}
new ListenerFeatherBoard(this).register();
}
Aggregations