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