squeeglii / BridgingMod

A mod for Minecraft (1.17-1.20+) which adds bedrock-style reacharound-placement mechanics for Fabric, Quilt & Forge
MIT License
8 stars 7 forks source link

[Bug] Places an extra block when replacing a block #3

Closed W2D3F1X2 closed 1 year ago

W2D3F1X2 commented 1 year ago

Description When I use left and right buttons in creative mode to replace a block which has another block behind it, an extra block is placed on the clicked surface.

Reproduction

  1. Enter creative mode
  2. Point to a block which has another block behind it
  3. Hold a block
  4. Press left and right buttons to replace the pointed block

Normal behavior The held block should be placed in the place of the replaced one, and not placed on its surface.

Screenshot

Version

squeeglii commented 1 year ago

It was hard for me to recreate this but I think I managed to do it in the end?

v2.0.0 should fix this as the placement logic is pretty different. Closing as fixed for now :)