Bukkit/CraftBukkit — pull request #543 by Qala (2011-11-23 22:00:33+00:00)
Title: Fixed deathTicks increasing, preventing Player from dropping XP

In EntityLiving, deathTicks is preserved across Player deaths and even saved to player.dat (as "DeathTime").
This caused XP to only be dropped when the player dies for the first time.

This is the same as pr 526, but redone for 1.0.0.