OMG i know but if it is PlayerDeathEvent so it can be only player and in all other Player events is method getPlayer()