Bring Entity#teleportAsync up to parity with Entity#teleport#12019
Bring Entity#teleportAsync up to parity with Entity#teleport#12019zJanny wants to merge 1 commit into
Conversation
|
Hi and welcome to paper 👋 I don't see the usage of this? Why would you teleportAsync to an entity? |
As far as i know, folia needs the teleportAsync method, so this would allow someone to create a Paper plugin with Folia support that uses this functionallity. This would be one example i can think of, because i just encountered this issue with GrimAC |
|
If this is porting methods up from folia, then yea, this might be something to do. |
|
These methods don't exist in folia, this is a desire to pull up some of the helper util flood for the teleport method to the teleportAsync methods; which, I'm generally on the edge around adding more helper functions for trivial operations |
I just wanted to word it as a more general thing. |
|
Yea, I think I'll close this then. Thank you anyway for the PR <3 Teleporting to an entity instance means the target entity exists. Thank you again! Hope my line of reasoning here was understandable. |
The Entity.teleportAsync function did not have a overload to be able to teleport to another entity directly, and this has annoyed me quite a bit while coding, because the normal teleport has it.
So i made this small change to add this functionality