So everything's in the title, I'll leave a screenshot.
Context: I was making a Minecraft Map when I heard some Villager and Llama noises, then I found the Merchant even though I have disabled the doMobSpawning gamerule way before this happened.
It doesn't really bother me but I just find it weird that he appeared even if he wasn't supposed to
Related issues
duplicates
Attachments
Comments

Thank you for your report!
However, this issue is a Duplicate of MC-143420.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki