Folia/patches
Spottedleaf 76b06a1260 Do not call getGameTime when portalling Villagers
The code to stop all brain tasks is required to pass the current
game time to the tasks it stops. But, when a villager is being
portalled, the copied entity does not have any running tasks. So,
we can simply return early before invoking getGameTime if there
are no running tasks.

Fixes https://github.com/PaperMC/Folia/issues/23
2023-03-31 20:48:20 -07:00
..
api fix: fix build number check in version fetcher (#16) 2023-03-30 14:13:55 -07:00
server Do not call getGameTime when portalling Villagers 2023-03-31 20:48:20 -07:00