Skip to content

Commit

Permalink
Recommend TryResolve calls off the FormLink
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog committed Apr 11, 2024
1 parent 654604d commit b56a524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Big-Cheat-Sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<IFormListGetter>(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
}
Expand Down

0 comments on commit b56a524

Please sign in to comment.