Skip to content

Commit

Permalink
Fix flower harvesting (wrong Object construtor)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkfalcon committed May 4, 2024
1 parent fda7f1c commit 30e2720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BetterJunimos/Abilities/Base/HarvestCropsAbility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public List<string> RequiredItems() {
}

private bool ShouldAvoidHarvesting(Vector2 pos, HoeDirt hd) {
var item = new StardewValley.Object(pos, hd.crop.indexOfHarvest.Value);
var item = new StardewValley.Object(hd.crop.indexOfHarvest.Value, 1);

// TODO: check properly if the crop will die tomorrow instead of special-casing
if (item.ParentSheetIndex == 421) {
Expand Down

0 comments on commit 30e2720

Please sign in to comment.