// 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()); }
public static boolean isEnabledInConfig() { return !MobHunting.config().disableIntegrationMobArena; }