Skip to content

Fixed certain commands that teleport the player or an entity to Folia.#2919

Merged
me4502 merged 2 commits intoEngineHub:version/7.4.xfrom
Euphillya:fix-teleport-folia
Mar 4, 2026
Merged

Fixed certain commands that teleport the player or an entity to Folia.#2919
me4502 merged 2 commits intoEngineHub:version/7.4.xfrom
Euphillya:fix-teleport-folia

Conversation

@Euphillya
Copy link
Contributor

@Euphillya Euphillya commented Mar 3, 2026

The Entity#teleport method is not supported on Folia, unlike Entity#teleportAsync. Furthermore, since PaperLib is integrated with WorldEdit, it can be used if a Folia server is detected.

@Euphillya Euphillya requested a review from a team as a code owner March 3, 2026 14:28
Copy link
Member

@me4502 me4502 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. While I'm not super happy about just returning true on Folia for teleports, I don't feel there's a way around this with the current API. As this only impacts Folia I'm happy with it as-is (with the intention of replacing it with something better in the future, which is honestly the status of most Folia support anyway tbh)

@me4502 me4502 enabled auto-merge March 4, 2026 10:22
@me4502 me4502 disabled auto-merge March 4, 2026 10:22
@me4502 me4502 merged commit 6ffef67 into EngineHub:version/7.4.x Mar 4, 2026
2 checks passed
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.

2 participants