diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-05-18 23:11:17 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-05-18 23:11:17 -0400 |
commit | f96dde00f98a913557617f716673f1af355cc6b5 (patch) | |
tree | 33deb3fc614ffb346415b7afdc7ad45f510c0bd4 /src/SMAPI/Framework | |
parent | d1bf3d52352df4bb720cf0fa87dcd6a64f35446a (diff) | |
download | SMAPI-f96dde00f98a913557617f716673f1af355cc6b5.tar.gz SMAPI-f96dde00f98a913557617f716673f1af355cc6b5.tar.bz2 SMAPI-f96dde00f98a913557617f716673f1af355cc6b5.zip |
fix some type references not being rewritten (#711)
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r-- | src/SMAPI/Framework/ModLoading/Framework/BaseTypeFinder.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/ModLoading/Framework/BaseTypeFinder.cs b/src/SMAPI/Framework/ModLoading/Framework/BaseTypeFinder.cs index 04b2e08d..8c85b6a5 100644 --- a/src/SMAPI/Framework/ModLoading/Framework/BaseTypeFinder.cs +++ b/src/SMAPI/Framework/ModLoading/Framework/BaseTypeFinder.cs @@ -125,6 +125,10 @@ namespace StardewModdingAPI.Framework.ModLoading.Framework return true; } + // type reference + if (instruction.Operand is TypeReference typeRef && this.IsMatch(typeRef)) + return true; + return false; } |