Mayor Eric Adams put Public Advocate Jumaane Williams in his place Sunday after a trolling social media post that hinted he would step in to lead the city if Hizzoner didn’t hurry home.

Williams noted that the city charter says the public advocate will assume the top office if the mayor is absent from the Big Apple for nine days in a row — and Adams had been away for eight days as of Sunday, on a “globetrotting” trip that has taken him to Israel, Albania and Uzbekistan.

Mayor Eric Adams pictured in Uzbekistan with local mayor Shavkat Umurzakov on Nov. 20. @NYCMayor

“We’re ready at City Hall just in case he decides to add another globetrotting stop—or his flight gets delayed a few hours,” Williams captioned a post on X.

The post included a video of the public advocate “waiting” to take over.

Public Advocate Jumaane Williams speaks during a rally on Oct. 7. Lev Radin/Shutterstock

Adams clapped back at Williams while still on his multi-stop excursion.

“One has to feel a bit bad watching a four-year attempt to become Mayor by every means except winning over the voters finally crash and burn,” Adams responded in his own post. “I genuinely hope you find some peace and happiness moving forward.”

It’s just the latest back-and-forth between the rivals, who trade insults regularly. After Adams was indicted this year, Williams attended a rally calling for him to resign.

Adams in Uzbekistan on Thursday. NYCMayor/X

Adams is due to leave office at year’s end after the election of Zohran Mamdani.

Williams was re-elected for the position in November.