@EventHandler
    protected void onPlayerDeath(EntityDeathEvent event) {
        LivingEntity entity = event.getEntity();
        if (entity instanceof Player) {
            Player player = (Player) entity;
            ScavDuelsPlayer dPlayer2 = ScavDuels.scavDuelsPlayer.get(player.getName());
            if (dPlayer2 != null && dPlayer2.isDueling) {
                Arena arena = null;
                for (Arena tempArena : ArenaList) {
                    if (tempArena.name.equalsIgnoreCase(dPlayer2.ArenaName)) {
                        arena = tempArena;
                        break;
                    }
                }
                if (arena == null || !arena.isRunning) {
                    dPlayer2.isDueling = false;
                    return;
                }

                arena.StopArenaOnDeath(dPlayer2);
            }
        }

    }