Same with people who try to act generously but then surprisingly throw a large bill your direction. I’ve been victim to this behavior a few times and I’ve cut those people out after every offense. No surprise, these people don’t tend to have friends for long.
I'll add: if you need money but don't want to ask for it upfront, you will need to have someone to ask for it individually to each person mid party.
Just having a box to collect it somewhere, or a sign with a qr code, doesn't work nearly as well.
It's annoying to do, but if your party is good people react surprisingly well to this.