diff --git a/src/fr/neatmonster/nocheatplus/hooks/NCPHookManager.java b/src/fr/neatmonster/nocheatplus/hooks/NCPHookManager.java index 04a49a33..27c32916 100644 --- a/src/fr/neatmonster/nocheatplus/hooks/NCPHookManager.java +++ b/src/fr/neatmonster/nocheatplus/hooks/NCPHookManager.java @@ -388,8 +388,8 @@ public final class NCPHookManager { // Group specific. if (checkType.group != null) { - final List hooksGroup = hooksByChecks.get(checkType); - if (hooksCheck != null) + final List hooksGroup = hooksByChecks.get(checkType.group); + if (hooksGroup != null) if (applyHooks(checkType, player, hooksGroup)) return true; }