Ability to get cause in EntityTeleportEvent #5767
Labels
Category: API
Related to the plugin API
Easy task
Probably really easy to do, good task for first-time contributors
Type: Enhancement
Contributes features or other improvements to PocketMine-MP
You should be able to get the cause of EntityTeleportEvent
It allows one to easily detect how a player was teleported to an area which is helpful in some cases.
There are alternative methods but it just seems like this should be in.
The text was updated successfully, but these errors were encountered: