From 778f6a1589a13de3a6958aaad420dd84a4a6ed89 Mon Sep 17 00:00:00 2001 From: asofold Date: Mon, 23 Jul 2012 16:11:59 +0200 Subject: [PATCH] Add assertPluginPresent to Citizens hook. --- .../me/asofold/bukkit/cncp/hooks/citizens/HookCitizens.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CompatNoCheatPlus/src/me/asofold/bukkit/cncp/hooks/citizens/HookCitizens.java b/CompatNoCheatPlus/src/me/asofold/bukkit/cncp/hooks/citizens/HookCitizens.java index 4552561..ea41411 100644 --- a/CompatNoCheatPlus/src/me/asofold/bukkit/cncp/hooks/citizens/HookCitizens.java +++ b/CompatNoCheatPlus/src/me/asofold/bukkit/cncp/hooks/citizens/HookCitizens.java @@ -9,7 +9,11 @@ import org.bukkit.entity.Player; import fr.neatmonster.nocheatplus.checks.CheckEvent; public final class HookCitizens extends AbstractHook { - + + public HookCitizens(){ + assertPluginPresent("Citizens"); + } + @Override public String getHookName() { return "Citizens(default)";