Skip to content

Add teleport events when teleportAsync is called internally#67

Closed
WillQizza wants to merge 1 commit into
PaperMC:masterfrom
WillQizza:async-teleport-events
Closed

Add teleport events when teleportAsync is called internally#67
WillQizza wants to merge 1 commit into
PaperMC:masterfrom
WillQizza:async-teleport-events

Conversation

@WillQizza
Copy link
Copy Markdown
Contributor

@WillQizza WillQizza commented Apr 30, 2023

Currently, teleports caused by methods such as ender pearls or the /tp command do not trigger PlayerTeleportEvent or the EntityTeleportEvent.

This pull request implements the events when teleportAsync is called.

Edit: After further testing, this is throwing unexpected exceptions.

@WillQizza WillQizza closed this Apr 30, 2023
@WillQizza WillQizza mentioned this pull request May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant