Much will be made of the Nets shooting 53.9 percent Wednesday despite losing Jeremy Lin and already playing minus two point guards. But it was Trevor Booker and some tough, gritty defense that helped them hang on for a 109-101 victory over Detroit.

With the Nets clinging to a 103-98 lead, Booker stole the ball from Aron Baynes. Then he blocked a layup attempt by Kentavious Caldwell-Pope with 58.4 seconds left, roaring and igniting the crowd of 13,650 Wednesday night at Barclays Center.

“It shows a lot,” Booker said. “We’ve been working hard and it showed out there. We lost our point guard in Jeremy, he means so much to this team. But everybody stepped up. Second half, they made their run, but we held on.’’

“That was spectacular,’’ coach Kenny Atkinson said. “But that’s part of who Trevor Booker us and why we brought him here — how hard he plays and his defensive instincts.”

They also brought Booker for toughness. And after Baynes had started getting into some extracurricular activities with rookie Isaiah Whitehead, the very next trip down the court Booker got tangled up with the Detroit big man and the two had to be separated.

“He was just trying to get in our heads, but I told [Whitehead] that I had his back. And the very next play we got tangled up, I had to body-slam him,’’ Booker said with a laugh.

“Just shows the type of team we are. It just shows we have each other’s backs. We’re not going to back down from anybody. We’re really a gritty team. We want to win and it showed.”

Brook Lopez had 24 of his 34 points in the first half, one shy of his career high in any half. He came into the season with just three 3-pointers, but made 4 of 8 from deep.

The Nets shot 70.7 percent in the first half, their best since April 3, 2013 at Cleveland.

Lopez dominated Andre Drummond so badly, Detroit coach Stan Van Gundy gave the big man just seven minutes in the second half.

“He was bringing absolutely nothing to the game,” Van Gundy said. “I don’t know if he was tired or what the deal was but he didn’t bring any energy.

“We didn’t guard anybody. We came with no energy. We couldn’t keep up with their pace. We couldn’t guard them on the pick-and-roll. Brooklyn played well, moved the ball, shot very well. They outplayed us for 48 minutes in every aspect.”