DALLAS, TX - APRIL 21: Dirk Nowitzki #41 of the Dallas Mavericks dribbles the ball against Serge Ibaka #9 of the Oklahoma City Thunder during game three of the Western Conference Quarterfinals of the 2016 NBA Playoffs at American Airlines Center on April 21, 2016 in Dallas, Texas. NOTE TO USER: User expressly acknowledges and agrees that, by downloading and or using this photograph, User is consenting to the terms and conditions of the Getty Images License Agreement. (Photo by Ronald Martinez/Getty Images)

After threatening to sign elsewhere, Dirk and Mavericks come to agreement

That was a close call.

Dirk Nowitzki will stay a Dallas Maverick until he decides to retire in the next few years. After threatening to sign elsewhere because the Mavericks stiffed him on his last contract, the team has come up with a much more player-friendly one that should make Nowitzki happy.

ESPN's Marc Stein has the details of the contract:

And here's how much of a discount he took last time he signed a contract with the team.

This past year in his age 37 season, Dirk averaged 20.9 points, two assists, 0.8 blocks and 7.4 rebounds per game. Over his 18-year career he has averaged 22.5 points and eight rebounds while shooting 38.1 percent from beyond the arc and 47.4 percent overall from the floor.