CHARLOTTE, N.C. — Kevin Love scored 27 points, Kyrie Irving had 23 and the Cleveland Cavaliers snapped a three-game losing streak with a 91-87 win over the Charlotte Hornets on Friday night.

Tristan Thompson added 14 points and 14 rebounds as the Cavaliers won their first game since announcing LeBron James would miss two weeks with knee and back strains. Dion Waiters finished with 17 points.

Love returned to the lineup after missing one start with back spasms and played 38 minutes. He was 9 of 15 from the field and helped the Cavaliers (19-14) take control of the game with three straight 3-pointers in the third quarter after an injury scare.

Gerald Henderson led Charlotte (10-24) with 14 points. The Hornets have lost five in a row.

NETS 100, MAGIC 98: Mason Plumlee had 18 points and nine rebounds, and Brooklyn won at Orlando, Florida, for its third straight victory.

Brook Lopez and Deron Williams added 16 points apiece. The win gets the Nets back to .500 for the first time since November.

The Nets shot well most of the night and led by as many as 26 points in the second half. The Magic rallied in the fourth quarter and got within two points with 3.8 seconds to play on a 3-pointer by Elfrid Payton.

But they weren’t able to foul again as Brooklyn ran out the clock.

PISTONS 97, KNICKS 81: Brandon Jennings scored 29 points and Detroit extended host New York’s losing streak to 10 games.

Jodie Meeks added 15 points, and Greg Monroe and Kentavious Caldwell-Pope each had 12. Andre Drummond finished with seven points and 20 rebounds.

THUNDER 109, WIZARDS 102: Kevin Durant scored 34 points to help Oklahoma City win at home against Washington.

Durant was 12 of 18 from the field in just 32 minutes, including a 4-of-7 performance from 3-point range. He scored 44 points in an overtime win over the Phoenix Suns on Wednesday night.

Russell Westbrook had 22 points and six assists for the Thunder.

PELICANS 111, ROCKETS 83: Ryan Anderson scored 22 points, Tyreke Evans added 21 and New Orleans won at home against Houston.

Dante Cunningham added 13 points for New Orleans, which opened a double-digit lead in the second quarter and led by as much as 32 in the second half.

Omer Asik grabbed 11 rebounds and Anthony Davis accounted for three of the Pelicans’ eight blocked shots.

PACERS 94, BUCKS 91: C.J. Miles scored 22 points and Roy Hibbert had 18, leading Indiana at Milwaukee.

The Pacers had five players score in double figures in their fifth win in seven games. Luis Scola had 14 points and Rodney Stuckey had 11.

Indiana trailed by seven at the break but held Milwaukee to 15 points in the third and went ahead to stay in the final period.