diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-12-10 18:05:18 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-12-10 18:05:18 -0500 |
commit | 8776d1afa6dce054f3bc7cb421c86f3e2fe06ab3 (patch) | |
tree | 506b4f8487aaba8f5ea5e3e94795308b82a0a7ca /src/SMAPI/Framework/InternalExtensions.cs | |
parent | 80c4d93559989777fbe5a23b923155b93df7a715 (diff) | |
download | SMAPI-8776d1afa6dce054f3bc7cb421c86f3e2fe06ab3.tar.gz SMAPI-8776d1afa6dce054f3bc7cb421c86f3e2fe06ab3.tar.bz2 SMAPI-8776d1afa6dce054f3bc7cb421c86f3e2fe06ab3.zip |
adjust reflection API to correctly reflect what it does (#410)
Diffstat (limited to 'src/SMAPI/Framework/InternalExtensions.cs')
-rw-r--r-- | src/SMAPI/Framework/InternalExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/InternalExtensions.cs b/src/SMAPI/Framework/InternalExtensions.cs index 3709e05d..f81e05a9 100644 --- a/src/SMAPI/Framework/InternalExtensions.cs +++ b/src/SMAPI/Framework/InternalExtensions.cs @@ -125,7 +125,7 @@ namespace StardewModdingAPI.Framework #endif // get result - return reflection.GetPrivateField<bool>(Game1.spriteBatch, fieldName).GetValue(); + return reflection.GetField<bool>(Game1.spriteBatch, fieldName).GetValue(); } } } |