Fix NullPointerException with EntityDeathEvent