private static void DoRitualWish() { DBTPlayer modPlayer = Main.LocalPlayer.GetModPlayer <DBTPlayer>(); modPlayer.DoRitual(); menuVisible = false; modPlayer.WishActive = false; }