The NBA fined the Brooklyn Nets $50,000 for violating local New York City law and league health and safety protocols during the team's game against the New York Knicks on March 13, the league announced Monday.

The Nets were penalized for allowing Kyrie Irving, who attended the game as a spectator, to enter their locker room at halftime.

Despite having permission to walk around the Barclays Center maskless, Irving could not enter Brooklyn's locker room because it is considered part of the club's workplace environment, according to ESPN's Adrian Wojnarowski.