Magic Johnson is not a fan of “all these bans and things.”

The basketball legend, who over the past eight years made frequent trips to the White House to party and talk policy with his pals former president Barack Obama and first lady Michelle Obama, told TMZ recently that Trump’s executive order on refugees and immigrants was not only “not American like” but just a touch dictatorial.

“It’s wrong to discriminate against people,” said Johnson, outside the W Hotel on Sunday night. “We have a lot of great Muslim brothers and sisters who are here and doing a wonderful job of being great Americans.”

The former Lakers star went on to say that the Trump administration’s plan to build a border wall is “just not who we are as Americans.”

“He’s got to learn that you can’t just be a dictator,” added Johnson, who supported Hillary Clinton in the 2016 presidential election. “We’ve never had a president like that.”

But the basketball-player-turned-businessman, who co-chaired the Obama White House’s “My Brother’s Keeper” initiative aimed at young black and Latino men, was somewhat hopeful for the future.

“I pray to God that something will click with him,” said Johnson, “or somebody in his Cabinet can get to him to talk to him.”