use of combatlogx.expansion.glowing.listener.ListenerGlow in project CombatLogX by SirBlobman.
the class GlowingExpansion method onEnable.
@Override
public void onEnable() {
Logger logger = getLogger();
ICombatLogX plugin = getPlugin();
ExpansionManager expansionManager = plugin.getExpansionManager();
int minorVersion = VersionUtility.getMinorVersion();
if (minorVersion < 9) {
logger.warning("This expansion is made for 1.9+");
expansionManager.disableExpansion(this);
return;
}
new ListenerGlow(this).register();
}
Aggregations