Skip to content

Fix BlockLineIterator error due to floating point error near edges of blocks.#7769

Merged
sovdeeth merged 4 commits into
SkriptLang:dev/featurefrom
sovdeeth:fix/bli-overshoot
Apr 8, 2025
Merged

Fix BlockLineIterator error due to floating point error near edges of blocks.#7769
sovdeeth merged 4 commits into
SkriptLang:dev/featurefrom
sovdeeth:fix/bli-overshoot

Conversation

@sovdeeth
Copy link
Copy Markdown
Member

@sovdeeth sovdeeth commented Apr 1, 2025

Description

Changes overshoot check to ensure it's significantly behind the end point (1+ meter) instead of behind at all.


Target Minecraft Versions: any
Requirements: none
Related Issues: #7768

@sovdeeth sovdeeth added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Apr 1, 2025
@sovdeeth sovdeeth requested a review from a team as a code owner April 1, 2025 23:06
@sovdeeth sovdeeth requested review from Romitou and erenkarakal and removed request for a team April 1, 2025 23:06
@sovdeeth sovdeeth added the patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. label Apr 4, 2025
@sovdeeth sovdeeth merged commit b87787c into SkriptLang:dev/feature Apr 8, 2025
5 checks passed
erenkarakal pushed a commit to erenkarakal/Skript that referenced this pull request Nov 26, 2025
… blocks. (SkriptLang#7769)

* Update BlockLineIterator.java

* forgot the negative sign

* add regression test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants