private void GenerateOre()
        {
            Log.Info("1");
            _random2.Next(AllowedOres.Count);

            Log.Info("2");
            if (AllowedOres?.Count == 0)
            {
                return;
            }

            Log.Info("3");
            var index = _random2.Next(AllowedOres.Count);

            Log.Info("4");
            var item = AllowedOres[index];

            Log.Info($"5 {item}");

            OnAddCreated?.Invoke(item);

            Log.Info("6");
            randomTime = _random.Next(_minTime, _maxTime);

            Log.Info("7");
            _passedTime = 0;

            Log.Info("8");
        }
        private void GenerateOre()
        {
            TechType item;

            if (!_isFocused)
            {
                if (AllowedOres == null || AllowedOres.Count == 0)
                {
                    return;
                }

                _random2.Next(AllowedOres.Count);
                var index = _random2.Next(AllowedOres.Count);
                item = AllowedOres[index];
                OnAddCreated?.Invoke(item);
                QuickLogger.Debug($"Spawning item {item}", true);
            }
            else
            {
                item = _focus;

                if (_focus != TechType.None)
                {
                    OnAddCreated?.Invoke(item);
                }

                QuickLogger.Debug($"Spawning focus item {_focus}", true);
            }

            _passedTime = 0;
        }