public IEnumerator PlayerDead(float waitTime) { ModHooks.OnBeforePlayerDead(); yield return(orig_PlayerDead(waitTime)); ModHooks.OnAfterPlayerDead(); }