diff --git a/cookie-garden-helper.js b/cookie-garden-helper.js index efd8d82..7f080d7 100644 --- a/cookie-garden-helper.js +++ b/cookie-garden-helper.js @@ -154,6 +154,10 @@ class Garden { } static handleYoung(config, plant, x, y) { + if (!plant.unlocked && config.autoHarvestNewSeeds) { + return; + } + if (plant.weed && config.autoHarvestWeeds) { this.harvest(x, y); } diff --git a/src/Garden.js b/src/Garden.js index 471adba..231153f 100644 --- a/src/Garden.js +++ b/src/Garden.js @@ -104,6 +104,10 @@ class Garden { } static handleYoung(config, plant, x, y) { + if (!plant.unlocked && config.autoHarvestNewSeeds) { + return; + } + if (plant.weed && config.autoHarvestWeeds) { this.harvest(x, y); }