Skip to content

Commit

Permalink
Merge pull request #4 from Miguel-Thewolf/modded_crop_fix
Browse files Browse the repository at this point in the history
Fix Mixedseed Error
  • Loading branch information
EienWolf authored Jun 1, 2024
2 parents 2a3708b + 7a7292a commit fb1a136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BetterJunimos/Abilities/Base/PlantCropsAbility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ private bool IsTrellisCrop(Item item, GameLocation location) {

//Verify if the item is a crop seed
private bool IsCrop(Item item, GameLocation location) {
Crop crop = new Crop(item.ItemId, 0, 0, location);
return !crop.IsErrorCrop();
var objCrop = new StardewValley.Object(item.ItemId, 1);
return objCrop.Category == -74 && item.ItemId != "770" && item.ItemId != "MixedFlowerSeeds";
}

public List<string> RequiredItems() {
Expand Down

0 comments on commit fb1a136

Please sign in to comment.