Affects Version/s: 1.15.1
Fix Version/s: None
Environment:Windows 10 computer
Put the summary of the bug you're having here
What I expected to happen was...:
I made a system in my minecraft server that would minecart a villager over to a player for X amount of seconds so they can trade with said villager and it gets taken 50 blocks away after X seconds ran out so that the trade GUI would close whether or not the player still wants to trade. I expected the trade GUI to close
What actually happened was...:
The villager GUI never closed. I could still trade easily and even level up the villager from 50 blocks away (I went to the villager and double checked). Even after moving the villager upwards of 200 blocks away did nothing. Only killing the villager force-closed the GUI...
Steps to Reproduce:
1. Put a villager (with a profession) in a minecart on a long rail.
2. Send the minecart off over the horizon but interact with the villager before he leaves.
3. Wait a few seconds for the villager to get far away.
4. Proceed to trade like the villager was standing right next to you.