Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small hitbox and sink fix #715

Merged
merged 4 commits into from
Dec 14, 2024
Merged

small hitbox and sink fix #715

merged 4 commits into from
Dec 14, 2024

Conversation

wolfebersahd
Copy link
Contributor

It fixed the off-by-1 hitbox math and the hardcoded y < 5 sink limits

Checklist

  • [DONE] Proper internationalization (i hope i did it correctly)
  • [DONE] Tested (on a separate fork with other changes)

Changed hardcoded sink limit from `y < 5` to `y < (craft.getWorld().getMinHeight() + 5)` preserving the original 4 block buffer but accounting for the new minimum world heights of 1.18+
Adjusted X, Y, Z, lengths by +1 to compensate for coordinate vs block math.
@TylerS1066 TylerS1066 merged commit ed545b8 into APDevTeam:main Dec 14, 2024
1 check passed
@wolfebersahd wolfebersahd deleted the patch-1 branch December 17, 2024 13:37
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.

3 participants