Villager trade in Minecraft?

bl
1

I'm currently building a Bed Wars Map and there I'm stopping with villagers.

But whenever you trade, you get XP.

, You get XP.

Can I somehow turn this off with a command or something?

Hu

No you can't turn this off unless you use the / kill command.

It should go, you have to write it in commandblock: / kill @e (type = xp)