Skip to content

Use same range calculations on both platforms - #318

Open
FreezePhoenix wants to merge 2 commits into
CreativeMD:26.xfrom
FreezePhoenix:patch-2
Open

Use same range calculations on both platforms#318
FreezePhoenix wants to merge 2 commits into
CreativeMD:26.xfrom
FreezePhoenix:patch-2

Conversation

@FreezePhoenix

Copy link
Copy Markdown

This changes it so that the same code is used on both platforms, allowing this class to potentially be moved into the main code.

Is it intentional that you are checking for if the player is in creative mode, when the attribute already changes value if they are?

Refactor getReach method to use blockInteractionRange. Is it intentional that you are subtracting 0.5 when not in creative? The attribute value already has a different value if you're in creative.
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.

1 participant