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 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-27 06:30:27 +01:00
parent a68ee8009f
commit 6c09ec2cc8
+1 -1
View File
@@ -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(),