@EventHandler
	public void onRespawn(PlayerRespawnEvent e) {
		if(RushPlugin.isGameFinished()) {
			e.getPlayer().teleport(RushPlugin.getPodiumLoc());
			e.getPlayer().setGameMode(GameMode.ADVENTURE);
		}
		else {
			Player p = e.getPlayer();
			RushPlayer rp = RushPlugin.getRushPlayer(p);
			if(!e.isBedSpawn() && RushPlugin.isGameRunning() && !rp.isDisqualified()) {
				p.setGameMode(GameMode.ADVENTURE);
				rp.setDisqualified(true);
				RushTeam rt = RushPlugin.getRushPlayer(p).getTeam();
				rt.setRemainingPlayers(rt.getRemainingPlayers() - 1);			
				switch(rt.getRemainingPlayers()) {
					case 1:
						Bukkit.broadcastMessage(rt.getColor()+e.getPlayer().getName()+ChatColor.GRAY+" is disqualified. "+rt.getRemainingPlayers()+" player remaining. Last one!");
						break;
					case 0:
						Bukkit.broadcastMessage(rt.getColor()+e.getPlayer().getName()+ChatColor.GRAY+" is disqualified. The "+rt.getColor()+rt.getName()+ChatColor.GRAY+" team is disqualified.");
						break;
					default:
						Bukkit.broadcastMessage(rt.getColor()+e.getPlayer().getName()+ChatColor.GRAY+" is disqualified. "+rt.getRemainingPlayers()+" players remaining.");
						break;
				}
				plugin.aTeamDied(rt);
			}
		}
	}