Skip to content

Fix getPlaceSide causing mis-placements onto replaceable blocks - #6803

Open
Gingerbeard5773 wants to merge 1 commit into
MeteorDevelopment:masterfrom
Gingerbeard5773:getplaceside-fix
Open

Gingerbeard5773 wants to merge 1 commit into
MeteorDevelopment:masterfrom
Gingerbeard5773:getplaceside-fix

Conversation

@Gingerbeard5773

@Gingerbeard5773 Gingerbeard5773 commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Type of change

  • Bug fix
  • New feature

Description

BlockUtils.getPlaceSide has a minor issue where it will attempt to use a replaceable block as a valid surface to place off of. The result is that whatever code was using getPlaceSide, ends in the block getting placed onto the replaceable block rather than the intended position.

Real example of the bug in practice:
Anchor aura attempts to place an anchor but theres a fire next to the intended target blockpos. It ends up placing onto the neighboring fire, causing the anchor to be misplaced.

This PR fixes this issue

Related issues

N/A

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

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