From ae389ca9e95068577200e57e7fd53b37635112f9 Mon Sep 17 00:00:00 2001 From: Kristian Skistad Date: Tue, 5 Nov 2024 19:41:07 -0600 Subject: [PATCH 1/2] Fixed trying to plant trees in the greenhouse --- BetterJunimos/Abilities/Base/PlantCropsAbility.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BetterJunimos/Abilities/Base/PlantCropsAbility.cs b/BetterJunimos/Abilities/Base/PlantCropsAbility.cs index d8c1c92..7bfe536 100644 --- a/BetterJunimos/Abilities/Base/PlantCropsAbility.cs +++ b/BetterJunimos/Abilities/Base/PlantCropsAbility.cs @@ -139,7 +139,7 @@ private bool IsTrellisCrop(Item item, GameLocation location) { //Verify if the item is a crop seed private bool IsCrop(Item item, GameLocation location) { var objCrop = new StardewValley.Object(item.ItemId, 1); - return objCrop.Category == -74 && item.ItemId != "770" && item.ItemId != "MixedFlowerSeeds"; + return objCrop.Category == -74 && item.ItemId != "770" && item.ItemId != "MixedFlowerSeeds" && !Tree.GetWildTreeSeedLookup().Keys.Contains(item.ItemId) && !Game1.fruitTreeData.Keys.Contains(item.ItemId); } public List RequiredItems() { From 1ab8a7bf2303138ace5f3ac98039dc8e88da0dd1 Mon Sep 17 00:00:00 2001 From: Kristian Skistad Date: Sat, 9 Nov 2024 20:54:15 -0600 Subject: [PATCH 2/2] Fixed incorrect version numbering --- BetterJunimos/BetterJunimos.csproj | 2 +- BetterJunimos/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BetterJunimos/BetterJunimos.csproj b/BetterJunimos/BetterJunimos.csproj index e6b5c7a..9200a55 100644 --- a/BetterJunimos/BetterJunimos.csproj +++ b/BetterJunimos/BetterJunimos.csproj @@ -3,7 +3,7 @@ BetterJunimos BetterJunimos - 3.0.4 + 3.0.5 latest net6.0 true diff --git a/BetterJunimos/manifest.json b/BetterJunimos/manifest.json index f3ba2fd..a946c38 100644 --- a/BetterJunimos/manifest.json +++ b/BetterJunimos/manifest.json @@ -1,7 +1,7 @@ { "Name": "Better Junimos", "Author": "ceruleandeep", - "Version": "3.0.4", + "Version": "3.0.5", "Description": "Allow your Junimos (from Junimo huts) to automatically plant seeds, fertilize, and so much more!", "UniqueID": "hawkfalcon.BetterJunimos", "EntryDll": "BetterJunimos.dll",