From b56a5249484b27c4a779bb719bf2ffbc17a27c2f Mon Sep 17 00:00:00 2001 From: Justin Swanson Date: Thu, 11 Apr 2024 15:53:31 -0500 Subject: [PATCH] Recommend TryResolve calls off the FormLink --- docs/Big-Cheat-Sheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Big-Cheat-Sheet.md b/docs/Big-Cheat-Sheet.md index 4b83c183c..0c5cffb04 100644 --- a/docs/Big-Cheat-Sheet.md +++ b/docs/Big-Cheat-Sheet.md @@ -90,7 +90,7 @@ If you're just copy pasting code, often it will not compile because some require ILinkCache linkCache = ...; var formLink = new FormLink(FormKey.Factory("123456:Skyrim.esm")); -if (linkCache.TryResolve(formLink, out var foundRecord)) +if (formLink.TryResolve(linkCache, out var foundRecord)) { // Use the specific record we were looking for }