At what point did inns stop becoming common in villages and towns?

by Killertaco444

and why

divusdavus

I think hotels and/or bars are still pretty common, honestly.