Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public override void Entry(IModHelper helper)
prefix: new HarmonyMethod(typeof(RememberFacedDirectionPatches), nameof(RememberFacedDirectionPatches.Game1_PressActionButton_Prefix))
);
harmony.Patch(
original: AccessTools.Method(typeof(StardewValley.Farmer), nameof(StardewValley.Farmer.holdUpItemThenMessage)),
original: AccessTools.Method(typeof(StardewValley.Farmer), nameof(StardewValley.Farmer.holdUpItemThenMessage), new[] { typeof(StardewValley.Item), typeof(int), typeof(bool) }),
prefix: new HarmonyMethod(typeof(RememberFacedDirectionPatches), nameof(RememberFacedDirectionPatches.Farmer_HoldUpItemThenMessage_Prefix))
);

Expand All @@ -29,4 +29,4 @@ public override void Entry(IModHelper helper)
);
}
}
}
}
4 changes: 2 additions & 2 deletions StardewValleyMods/RememberFacedDirection/manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"Name": "Remember Faced Direction",
"Author": "Annosz",
"Version": "1.0.1",
"Version": "1.1.2",
"Description": "Makes the farmer turn back to his previous direction after eating, getting a special item and other actions.",
"UniqueID": "Annosz.RememberFacedDirection",
"EntryDll": "RememberFacedDirection.dll",
"MinimumApiVersion": "2.10.0",
"UpdateKeys": [ "Nexus:6946" ]
}
}