The basketball league joins the NFL in saying that an anti-trans bathroom bill could affect where championship games are held.

The National Basketball Association is saying that anti-LGBT legislation in Texas could cost the state the chance to host major sports events—like future All-Star Games.

The NBA repeated a statement about Texas S.B. 6, which would prevent transgender people from using bathrooms and changing facilities matching their gender identity, after the National Football League said that the law, if passed, could cost the state future Super Bowls.

“We consider a wide range of factors when making decisions about host locations for league-wide events like the All-Star Game – foremost among them is ensuring the environment where those who participate and attend are treated fairly and equally,” NBA spokesman Mike Bass said.

Fans and legislators already know the NBA is serious about the warning. The association pulled the 2017 All-Star Game out of Charlotte, North Carolina, because of the state’s anti-trans H.B. 2 bathroom law—which still remains in effect.

Texas Gov. Greg Abbott fired back at the NFL, saying they should “govern football, not politics.”

