Mojira Archive
MC-133218

Usable items continue to be used on the death screen after dying when the "keepInventory" gamerule is set to "true"

The bug

If you die before you can consume your potion, it still uses the potion and gives you any effects, but upon respawning it gets removed. This only works if you have /gamerule keepInventory true, since otherwise it would just drop the potion. This also affects food.