9
0
mirror of https://github.com/HibiscusMC/HibiscusCommons.git synced 2025-12-19 15:09:26 +00:00

fix: use isDetected instead of inActive in isInvisible

This commit is contained in:
LoJoSho
2025-01-16 21:16:27 -06:00
parent 85d6529902
commit 471343a309

View File

@@ -163,7 +163,7 @@ public class Hooks {
public static boolean isInvisible(UUID uuid) {
boolean invisible = false;
for (Hook hook : HOOK_POOL.values()) {
if (hook.isActive()) {
if (hook.isDetected()) {
if (hook.isInvisible(uuid)) invisible = true;
}
}