If a players max health is above 20 and they die, when they respawn, they have 20 health instead of their max health.
steps to reproduce:
change max health with /attribute @s generic.max_health base set 40
die using any means necessary (/kill if you want)
respawn, and see that your current health is 20 instead of 40, and you need to regenerate the rest
Attachments
Comments 2
Confirmed, Relates to MC-219981.
Can confirm