StardewHack icon indicating copy to clipboard operation
StardewHack copied to clipboard

StardewHack.InstructionNotFoundException: Could not find instruction sequence (Grass Growth)

Open mrWAWAA opened this issue 8 months ago • 2 comments

SMAPI threw out the above error relating to Stardew Hack and Grass Growth, after issuing an alert saying "The patch failed to apply cleanly. Usually this means the mod needs to be updated." Here's the link to my log.

Thanks :)

P.S - I also posted this on your Nexus page.

mrWAWAA avatar May 08 '25 02:05 mrWAWAA

I see that the MiscMapActionsProperties mod is modifying the same method as I do. That's causing the problem.

It looks like an easy fix, but probably not something I get around to soon.

If you have any modding experience, there's two things you can try: Replace the line `Instructions.Call(typeof(GameLocation), nameof(GameLocation.doesTileHaveProperty), typeof(int), typeof(int), typeof(string), typeof(string), typeof(bool)),' with either

  1. OpCodes.Call,
  2. null,

Compile and check if that works.

bcmpinc avatar May 08 '25 05:05 bcmpinc

I’ll give this a go! It’s only started recently so I assume it’s to do with an update on their end.

Thanks for your assistance :)

mrWAWAA avatar May 08 '25 05:05 mrWAWAA