@Override public void initialize() { super.initialize(); if (cancelOnSpellCast) { registerEvents(new SpellCastListener()); } }
@Override public void initialize() { super.initialize(); if (cancelOnLogout) { registerEvents(new QuitListener()); } if (cancelOnTeleport) { registerEvents(new TeleportListener()); } }