I am creating an adventure map.
For this, it is necessary to have a shop. That is why I've decided to use the villagers and create them with command blocks to decide which things they sell.
The problem is that after some trades, they level up and start offering more things to sell, which can greatly affect the way the adventure map is made to be played.
How can I prevent the villagers from levelling up?