Skip to content

Commit 30e2720

Browse files
committed
Fix flower harvesting (wrong Object construtor)
1 parent fda7f1c commit 30e2720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BetterJunimos/Abilities/Base/HarvestCropsAbility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public List<string> RequiredItems() {
4242
}
4343

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

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

0 commit comments

Comments
 (0)