diff options
author | Tyler Staples <tstaples@akimbocreations.com> | 2016-12-12 15:58:44 -0800 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-12-18 11:42:04 -0500 |
commit | cd93d59eaf5aa05e0fa55eadd958339b9042155d (patch) | |
tree | d15dc64a1b0168a2abf1d146e42971cbfbcfd1e5 /src/StardewModdingAPI/Framework/LogFileManager.cs | |
parent | c24294c3dd73db3754d10ff8fe5bd51338555638 (diff) | |
download | SMAPI-cd93d59eaf5aa05e0fa55eadd958339b9042155d.tar.gz SMAPI-cd93d59eaf5aa05e0fa55eadd958339b9042155d.tar.bz2 SMAPI-cd93d59eaf5aa05e0fa55eadd958339b9042155d.zip |
Added a struct to wrap cache entries for the sake of tracking invalid lookups. This fixes the issue where a null reference exception would be thrown when trying to look up non-existant or non-private members.
Added a null check to GetPrivateValue and it's overloads to fix the issue where it would throw a null reference exception when required was false and the field was null.
Diffstat (limited to 'src/StardewModdingAPI/Framework/LogFileManager.cs')
0 files changed, 0 insertions, 0 deletions