Better HUD

Better HUD

1M Downloads

Strange visual elements appearing (Better HUD standalone)

jason5122 opened this issue ยท 1 comments

commented

Hi, I was playing with Better HUD and I came across a non-crashing visual glitch. Below are a few GIFs of them in action, as well as my crash report from a forced crash (same world in the GIFs). I noticed the sign display and the blood effects behave strangely when hovering over other mobs, though I'm sure there are other visual elements that would probably behave this way as well.

sign glitch

blood glitch

crash-2020-01-17_22.55.11-client.txt

commented

Cause (note to self): some elements (ParticleOverlay in particular) don't call the parent shouldRender so they are rendered in both overlay and mob info events.

Good fix: force all elements to provide a single event they care about (in constructor or wherever) and enforce it in the render event.