@Override public void disable() { super.disable(); final PreventionManager pm = PreventionManager.getInstance(); final Prevention link = pm.getPrevention("link"); if (link != null && !link.getConfig().getBoolean("enable", false)) { pm.disablePrevention(link); } }
@Override public void enable() { super.enable(); PreventionManager.getInstance().enablePrevention("link"); }