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

clean: clean code for isInvisible method

This commit is contained in:
LoJoSho
2025-01-16 21:18:12 -06:00
parent 471343a309
commit 10b32c81fa

View File

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