static void Prefix(Respawn __instance, ref bool ____canPress) { if (Main.enabled && Main.settings.respawnNearBail && ____canPress) { Coroutine doBailTmpCoroutine = __instance.GetExtensionComponent().DoBailTmpCoroutine; if (doBailTmpCoroutine != null) { ((MonoBehaviour)PlayerController.Instance).StopCoroutine(doBailTmpCoroutine); } } }