Exemplo n.º 1
0
 // Happens when the player leave the Arena /ma leave
 @EventHandler(priority = EventPriority.NORMAL)
 private void onArenaPlayerLeaveEvent(ArenaPlayerLeaveEvent event) {
   MobHunting.debug(
       "[MH]Player %s left MobArena: %s", event.getPlayer().getName(), event.getArena());
   MobArenaHelper.stopPlayingMobArena(event.getPlayer());
 }
Exemplo n.º 2
0
 public static boolean isEnabledInConfig() {
   return !MobHunting.config().disableIntegrationMobArena;
 }