AdvancedXRay / XRay-Mod

Neoforge based XRay mod designed to aid players who don't like the ore searching process.
https://www.curseforge.com/minecraft/mc-mods/advanced-xray
GNU General Public License v3.0
160 stars 79 forks source link

XRay not updating highlights automaticly while active #228

Closed Snablorangen closed 5 months ago

Snablorangen commented 1 year ago

Describe the bug Im running the 1.18.2 Forge version of the mod. I've added a few modded blocks that I would like to see, and when they're outlined through other blocks as expected. However, when broken, the outline is still rendered even though the block is broken. I need to press the xray button twice to disable and reenable the xray for it to update.

To Reproduce

  1. Enable xray
  2. Break a block that is highlighted while using xray
  3. disable and enable the xray for the highlighting to update correctly

Expected behavior I would want the highlight to be removed when the block is broken. I think there should be some kind of update when a highlighted block is broken, or just on an interval of some kind.

Minecraft Enviorment

MichaelHillcox commented 5 months ago

This should be fixed in newer, supported, versions of the mod