mirror of
https://github.com/asofold/CompatNoCheatPlus.git
synced 2024-11-28 12:55:25 +01:00
Add assertPluginPresent to Citizens hook.
This commit is contained in:
parent
cda9c666c1
commit
778f6a1589
@ -9,7 +9,11 @@ import org.bukkit.entity.Player;
|
|||||||
import fr.neatmonster.nocheatplus.checks.CheckEvent;
|
import fr.neatmonster.nocheatplus.checks.CheckEvent;
|
||||||
|
|
||||||
public final class HookCitizens extends AbstractHook {
|
public final class HookCitizens extends AbstractHook {
|
||||||
|
|
||||||
|
public HookCitizens(){
|
||||||
|
assertPluginPresent("Citizens");
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getHookName() {
|
public String getHookName() {
|
||||||
return "Citizens(default)";
|
return "Citizens(default)";
|
||||||
|
Loading…
Reference in New Issue
Block a user