mirror of
https://github.com/HibiscusMC/HibiscusCommons.git
synced 2025-12-21 07:59:20 +00:00
fix: use isDetected instead of inActive in isInvisible
This commit is contained in:
@@ -163,7 +163,7 @@ public class Hooks {
|
|||||||
public static boolean isInvisible(UUID uuid) {
|
public static boolean isInvisible(UUID uuid) {
|
||||||
boolean invisible = false;
|
boolean invisible = false;
|
||||||
for (Hook hook : HOOK_POOL.values()) {
|
for (Hook hook : HOOK_POOL.values()) {
|
||||||
if (hook.isActive()) {
|
if (hook.isDetected()) {
|
||||||
if (hook.isInvisible(uuid)) invisible = true;
|
if (hook.isInvisible(uuid)) invisible = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user