4bf633e8a9
paint() runs for every drawn HUD call each frame and made a fresh String per
sprite to look it up in the atlas: sprite.to_string() for a mob_effect and
format!("gui/sprites/{sprite}") otherwise. One buffer outside the loop keeps
the same keys without the allocation.
Co-Authored-By: Hermes Agent (Nous Research) <noreply@nousresearch.com>