SparklyPaper
SparklyPaper copied to clipboard
Fix Nether and End portals for non-player entities
I tried to fix problems with non-player entities and portals cause some will need this functionallity on their server (like we're).
The main problem I found that teleportation ticked on ServerLevel tick thread but entities neeed to check Poi in another world. I use taskScheduler to schedule changeDimension on main thread.