Before the COVID-19 pandemic, Bam Adebayo was able to hug Kyrie Irving without incident. Nicole Sweet-USA TODAY Sports

Kyrie Irving and Bam Adebayo tried to exchange jerseys after Saturday night’s game between their teams, but a Miami Heat security guard wasn’t having it.

The security worker spotted the two players about to hug and swap jerseys, so he stepped in to ensure they were separated.

The NBA recently announced new rules to crack down on player interactions as a precautionary measure regarding COVID-19. One of the new rule was the prevention of postgame jersey swaps and players hugging.

“During the pre- and post-game periods, players must limit interactions to elbow or fist bumps, avoid extended socializing and maintain 6 feet of distance as much as possible,” the new rules state.

Adebayo and Irving were violating that rule, which is why they were separated.

The Brooklyn Nets won the game 128-124 over the Miami Heat despite 41 from Adebayo.

More must-reads:

TODAY'S BEST
Pair of Celtics score 25 points in series-clinching win over Heat
Oilers stars take over in second period to eliminate Kings
Dolphins owner turns down multibillion-dollar offer for control of team
MLB hands out multiple suspensions for Rays-Brewers brawl
Deion Sanders enters social media fray after criticism from former player
Cubs' Shota Imanaga joins impressive club after another incredible outing
Report: Hurricanes pull extension offer for HC Rod Brind'Amour
Knicks legend rips 76ers' Joel Embiid for 'crying too much'
Falcons' Jessie Bates addresses the team's QB conundrum
Mavericks use big third quarter to pull away from Clippers in Game 5
Stars finally win at home, take series lead over Golden Knights
Watch: Stars, Golden Knights trade goals in first period of Game 5
Watch: Heat can't figure out how to stop Celtics star
Analyst highlights concerns about Vikings QB J.J. McCarthy
Bucks release concerning injury report as Game 6 looms
Five-time NBA All-Star reveals thoughts on retirement amid rumors
Bears GM discusses if he considered trading Caleb Williams pick
Insider predicts when Giants QB Daniel Jones could lose starting job
Brittney Griner opens up on arrest, imprisonment in Russia
Saints to sign veteran DB