Bestem0r / VillagerMarket

The shop plugin you've been looking for! Perfect for semi-vanilla servers.
12 stars 17 forks source link

Using egg on door puts villager in strange places #4

Closed marcelschoen closed 2 years ago

marcelschoen commented 2 years ago

I accidentally clicked on the door of a blacksmith house with the villager spawn egg in hand, and then it spawned a villager somewhere inside the roof of the house. At first I could not even see it, as it was stuck inside the walls, and therefore I thought my egg had just vanished uselessly.

When using the egg, maybe it's possible to check if there is free space to spawn the villager (i.e. 2 blocks of air). If there's no space, don't spawn the villager.

Bestem0r commented 2 years ago

Will look into this. Thanks for reporting