So I used /effect give @a health_boost 1 255 which is supposed to give a LOT of hearts for 1 second as a joke with my friends on my minecraft server (I was at spectator mode at the time). Then my friend said the health bar stayed even after duration finished. Summary: I tried many things (Milk, re-effecting myself, respawning, relogging to the server, respawning with KeepInventory, etc) but nothing works. Help please
Related issues
Comments

Thank you for your report!
We're tracking this issue as MC-10755, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Won't Fix, which means this is considered a bug but won't be fixed. The description of that ticket or the comments might explain the rationale. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automagically! Please report any issues in Discord or Reddit