From 6c09ec2cc89febd655ff7eb414e8c1faf8c93df8 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:30:27 +0100 Subject: [PATCH] Save a player effect's icon as shown only when its particles are MobEffectInstance's show_icon defaults to show_particles: an effect given with hidden particles hides its icon too, and keeps doing so after a reload. Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/save.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/horizon-client/src/save.rs b/crates/horizon-client/src/save.rs index f965cf406..f3149c578 100644 --- a/crates/horizon-client/src/save.rs +++ b/crates/horizon-client/src/save.rs @@ -3152,7 +3152,7 @@ impl Level { ("amplifier", Tag::Byte(*amplifier as i8)), ("ambient", Tag::Byte(i8::from(*ambient))), ("show_particles", Tag::Byte(i8::from(*particles))), - ("show_icon", Tag::Byte(1)), + ("show_icon", Tag::Byte(i8::from(*particles))), ]) }) .collect(),