bug fix: handle player death
adapt code to modifications in GenericsLib events