4
Fork 0

Handle IgnoreHarvestedPlants=None in critterMoth

development
Eddoursul 2 months ago
parent 144fe43999
commit bc36f45e94
  1. BIN
      scripts/crittermoth.pex
  2. 2
      source/scripts/crittermoth.psc

Binary file not shown.

@ -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

Loading…
Cancel
Save