Change from EntityDeathEvent to PlayerDeathEvent

and check if the player died in the same chunk as their bed spawn point.