mirror of
https://github.com/HibiscusMC/HibiscusCommons.git
synced 2025-12-19 15:09:26 +00:00
feat: add ability to check if all hooks are active
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package me.lojosho.hibiscuscommons.hooks;
|
package me.lojosho.hibiscuscommons.hooks;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
import me.clip.placeholderapi.PlaceholderAPI;
|
import me.clip.placeholderapi.PlaceholderAPI;
|
||||||
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
|
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
|
||||||
import me.lojosho.hibiscuscommons.HibiscusCommonsPlugin;
|
import me.lojosho.hibiscuscommons.HibiscusCommonsPlugin;
|
||||||
@@ -44,6 +45,7 @@ public class Hooks {
|
|||||||
private static final HookPremiumVanish PREMIUM_VANISH_HOOK = new HookPremiumVanish();
|
private static final HookPremiumVanish PREMIUM_VANISH_HOOK = new HookPremiumVanish();
|
||||||
private static final HookSuperVanish SUPER_VANISH_HOOK = new HookSuperVanish();
|
private static final HookSuperVanish SUPER_VANISH_HOOK = new HookSuperVanish();
|
||||||
|
|
||||||
|
@Getter
|
||||||
private static boolean allHooksActive = false;
|
private static boolean allHooksActive = false;
|
||||||
|
|
||||||
public static Hook getHook(@NotNull String id) {
|
public static Hook getHook(@NotNull String id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user