AutoRefMatch match = plugin.getMatch(event.getRespawnLocation().getWorld());
if (match != null && match.getRespawnMode() == RespawnMode.BEDS_ONLY)
if (player.getBedSpawnLocation() == null)
{
match.eliminatePlayer(player);
event.setRespawnLocation(match.getSpectatorSpawn());
}
}
private class CraftCountTask extends BukkitRunnable