add assertPluginPresent to constrctor of mcMMO hook.

This commit is contained in:
asofold 2012-07-23 16:11:24 +02:00
parent 53e8b24740
commit cda9c666c1
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ public final class HookmcMMO extends AbstractHook implements Listener {
cancelChecksDamage.put("speed", 1);
}
public HookmcMMO(){
assertPluginPresent("mcMMO");
}
private final PluginGetter<mcMMO> fetch = new PluginGetter<mcMMO>("mcMMO");