public override void TryJoin(WorldClient client, int mainfighterid) { var mainFighter = GetAllFighters().Find(x => x.ContextualId == mainfighterid); if (mainFighter != null) { if (mainFighter.Team.TeamColor == TeamColorEnum.RED_TEAM) { return; } } if (CanJoin(client, BlueTeam, mainFighter)) { var newFighter = client.Character.CreateFighter(BlueTeam); BlueTeam.AddFighter(newFighter); GetAllFighters().ForEach(x => x.ShowFighter(client)); Map.Instance.OnFighterAdded(Id, BlueTeam.Id, newFighter.GetFightMemberInformations()); } }