Tim Allen on why 'you've gotta be careful' when talking about Donald Trump

Tim Allen appeared on "Jimmy Kimmel Live" on Thursday night and compared Trump's America to Nazi Germany.

When Kimmel asked him about Allen's trip to Trump's inauguration, the comedian clearly felt the need to defend himself.

SEE ALSO: 'Flip or Flop' star Tarek El Moussa shares extremely emotional Instagram about cancer battle

"You've gotta be real careful around here. You get beat up if you don't believe what everybody believes," he said with a laugh. "This is like '30s Germany. I don't know what happened. If you're not part of the group, 'You know what we believe is right,' I go, 'Well, I might have a problem with that.'"

The "Last Man Standing" actor went on to explain that as a comedian, he likes "going on both sides" when it comes to issues that are of interest to the public.

Watch his full interview in the video above.

See photos of Tim Allen:

More from AOL.com:
Mama June's daughter Anna 'Chickadee' Cardwell slams mom's weight loss: She did it 'just to be more famous'
Tyra Banks returning as 'America's Next Top Model' host
Duchess Kate and Prince William make first joint appearance on St. Patrick's Day following his wild ski trip