OAKLAND — No need to worry Warriors fans, the curse on Kevin Durant is lifted.

Hours after Durant announced he will sign a contract with the Golden State Warriors, East Bay rapper Lil B announced his alter ego, “The BasedGod,” will no longer haunt the NBA star.

“When I first heard the news, I was a bit shocked,” the rapper Brandon McCartney told this newspaper Monday. “I feel weird at the same time. It wasn’t something I expected.”

The Berkeley-born rapper, who rose to fame as a member of “The Pack,” put a curse on Durant in 2011, tweeting to his massive following, “Kevin Durant will never win the title after he said ‘Lil B is a wack rapper.’ “

Durant has never held the Larry O’Brien NBA Championship Trophy.

Now that Durant is headed to Oakland, Lil B said “The BasedGod” showed “leniency.”

He welcomed Durant to the Bay Area.

“This is the best place for him,” the rapper and Warriors fan said. “It’s a really exciting time for Bay Area sports. I want to focus on the Warriors winning.”

The 5-foot-6-inch rapper also once in a song challenged the 6-foot-9-inch Durant to a game of one-on-one.

A friendlier matchup is on Lil B’s mind, possibly at Mosswood Park in North Oakland, if Durant accepts.

“All the proceeds would go to charity,” said the 26-year-old, who is spending the July Fourth holiday in Berkeley.

David DeBolt covers Oakland. Contact him at 510-208-6453. Follow him at Twitter.com/daviddebolt.