Skip to content

Issue with block state updating #313

@aclare92

Description

@aclare92

Describe the bug
Whenever a block state changes, it does not update the Xray visuals. For example, I configure XRay to look for suspicious sand/gravel, and this is highlighted, but when I brush the block, and the state changes, XRay is not updated to reflect the change and still highlights it as a potential block.

This is also relevant for any 2 block tall flowers i.e. dripleaf, where you break the block above the ground. If I break the bottom-most block, the XRay visuals are removed as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Find a suspicious sand/gravel block
  2. Brush the block
  3. See the XRay highlighting is still active
    Or:
  4. Find a big dripleaf
  5. Break the non-floor connecting block
  6. See the Xray is still highlighting the ground block

Expected behavior
For the Xray visuals to react to block state changes and remove the highlighting

Screenshots
N/A

Minecraft Enviorment

  • Minecraft Version: 1.21.7
  • XRay Mod Version: 21.8.0
  • Mod Pack & Version if applicable - N/A
  • Forge Version if applicable - N/A

Additional context
N/A

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions