@EventHandler
  public void onPlayerRespawn(PlayerRespawnEvent event)
  {
    Arena arena = this.gm.findArenaByPlayer(event.getPlayer());
    if (arena == null)
      return;
    PlayerInfo p = arena.findPlayer(event.getPlayer());
    if (p == null)
      return;
    event.setRespawnLocation((Location)arena.mainArea.Spawn.get(p.team.TeamId));
    p.level.handleSpawnWithLevel(p.player);
    Iterator localIterator2;
    for (Iterator localIterator1 = this.gm.arenas.iterator(); localIterator1.hasNext(); 
      localIterator2.hasNext())
    {
      Arena a = (Arena)localIterator1.next();
      localIterator2 = a.teams.iterator(); Team t = (Team)localIterator2.next();
      for (PlayerInfo pi : t.player)
        pi.setNameColor(pi.team.color);
    }
  }