From 296192e1add22f2403abdb7782b48b4a8565d68c Mon Sep 17 00:00:00 2001 From: dartasen Date: Mon, 3 Mar 2025 12:29:35 +0100 Subject: [PATCH] Fix wrong patch type for SeaTreader_SetNextPathPoint --- .../Patches/Dynamic/SeaTreader_SetNextPathPoint_Patch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NitroxPatcher/Patches/Dynamic/SeaTreader_SetNextPathPoint_Patch.cs b/NitroxPatcher/Patches/Dynamic/SeaTreader_SetNextPathPoint_Patch.cs index f554156e7c..fa1314497e 100644 --- a/NitroxPatcher/Patches/Dynamic/SeaTreader_SetNextPathPoint_Patch.cs +++ b/NitroxPatcher/Patches/Dynamic/SeaTreader_SetNextPathPoint_Patch.cs @@ -11,7 +11,7 @@ public sealed partial class SeaTreader_SetNextPathPoint_Patch : NitroxPatch, IDy { internal static readonly MethodInfo TARGET_METHOD = Reflect.Method((SeaTreader t) => t.SetNextPathPoint()); - public static void Prefix(SeaTreader __instance) + public static void Postfix(SeaTreader __instance) { if (__instance.TryGetNitroxId(out NitroxId creatureId) && Resolve().HasAnyLockType(creatureId))