mirror of
https://github.com/HibiscusMC/HibiscusCommons.git
synced 2025-12-19 15:09:26 +00:00
fix: isActiveHook not taking into account detection
This commit is contained in:
@@ -157,6 +157,7 @@ public class Hooks {
|
|||||||
public static boolean isActiveHook(String id) {
|
public static boolean isActiveHook(String id) {
|
||||||
Hook hook = getHook(id);
|
Hook hook = getHook(id);
|
||||||
if (hook == null) return false;
|
if (hook == null) return false;
|
||||||
|
if (!hook.isDetected()) return false;
|
||||||
return hook.isActive();
|
return hook.isActive();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user