use of com.djrapitops.plan.api.events.PlanBungeeEnableEvent in project Plan by plan-player-analytics.
the class BungeeListenerSystem method callEnableEvent.
@Override
public void callEnableEvent(PlanPlugin plugin) {
boolean isEnabled = plugin.isSystemEnabled();
PlanBungeeEnableEvent event = new PlanBungeeEnableEvent(isEnabled);
((PlanBungee) plugin).getProxy().getPluginManager().callEvent(event);
CapabilitySvc.notifyAboutEnable(isEnabled);
}
Aggregations