Handle IgnoreHarvestedPlants=None in critterMoth

This commit is contained in:
Eddoursul 2024-02-20 19:14:21 +01:00
parent 144fe43999
commit bc36f45e94
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -326,7 +326,7 @@ ObjectReference Function PickPlant(float x, float y, float z, float searchDistan
endif
endif
if ! bSKSE || (!newPlant.IsHarvested() || IgnoreHarvestedPlants.Find(plantForm) == -1)
if ! bSKSE || !newPlant.IsHarvested() || IgnoreHarvestedPlants == None || IgnoreHarvestedPlants.Find(plantForm) == -1
return newPlant; [USKP 2.0.1b]
endif
endif