private void DoCrafting() { if (Settings.Crafting.RegularCrafting) { _craftingComponent.Craft(); Settings.Crafting.DoCrafting = false; StartCoroutine(WaitThenStart(20)); } else { if (_craftingComponent.GlitchCraft()) { Settings.Crafting.DoCrafting = false; Game.Instance.GarbageCollect(); Log.Instance.PrintConsoleMessage("We are waiting 20 seconds.", ConsoleColor.Blue); StartCoroutine(WaitThenStart(20)); } else { Settings.Crafting.DoCrafting = false; StartCoroutine(WaitThenStart(0.1f)); } } }