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

BlockPos: Fix negative coordinates being off by one #23

Merged
merged 4 commits into from
Jun 17, 2023

Conversation

camnwalter
Copy link
Member

Block coordinates always start at the smallest corner, so this was causing BlockPos to be off by 1 block in the x or z axis with a negative coordinate.

There's a few other random commits unrelated to this...

Not too sure about the getUUID() change, but just thought I'd do it to make the API slightly more consistent

@mattco98 mattco98 merged commit 54fd9fb into ChatTriggers:main Jun 17, 2023
1 check passed
@camnwalter camnwalter deleted the blockpos-fix branch June 17, 2023 22:29
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