@Override public void onDisable() { for (Hook hook : hooks) { if (hook.isProvided()) { hook.unload(); } } }
@Override public void onEnable() { registerHooks(); for (Hook hook : hooks) { if (hook.isProvided()) { hook.load(); } } }