Repository navigation
Conversation
R00tB33rMan
added a commit
to MagnoliaLLC/Canvas
that referenced
this pull request
Oct 19, 2026
Folia teleports the owner of a landed ender pearl to the pearl's current position, where vanilla and Paper use its position before the move that hit: at a wall the current position can lie on the hit surface and put the player's bounding box partly inside the wall. From PaperMC/Folia#529 by strobil.
Dueris
added a commit
to CraftCanvasMC/Canvas
that referenced
this pull request
Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Folia passes
this.position()toattemptTeleportwhen an ender pearl hits, while Paper usesthis.oldPosition(). At a wall impact, the current position can lie on the collision surface and place the player's bounding box partly inside the wall.Use
oldPosition()to match Paper's destination selection. The asynchronous teleport flow is unchanged.Testing
Twelve identical server-side pearl launches toward a barrier wall:
All 12 patched destination coordinates matched Paper within
1e-7.createPaperclipJarpassed with Java 25.0.4.1.Test harness, reproduction instructions and original JSON results.
The remaining overlaps also occur on Paper. These tests measure landing positions and overlap, not actual wall traversal; this is not a complete wall-phasing fix.