mirror of
https://github.com/asofold/CompatNoCheatPlus.git
synced 2024-11-24 12:16:46 +01:00
add assertPluginPresent to constrctor of mcMMO hook.
This commit is contained in:
parent
53e8b24740
commit
cda9c666c1
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user