Exemplo n.º 1
0
 @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());
   }
 }