diff options
-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; } |