Skip to content

Conversation

@haykam821
Copy link
Contributor

The BlockBounds.ofBlock method will accept a mutable block position, which causes the first block position used to calculate block bounds to be ignored. This issue becomes apparent in the circle and donut map shapes, where the furthest water position will not be considered part of the pool.

This pull request also includes miscellaneous changes that make implementing this fix easier.

Copy link
Member

@thecatcore thecatcore left a comment

Choose a reason for hiding this comment

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

Awesome way to refactor and fix this code!

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