summaryrefslogtreecommitdiff
path: root/src/SMAPI/Metadata
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-06-24 21:29:10 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-06-24 21:29:10 -0400
commit316242eeb2b6b6e711ab98f64c147a59c1d0aab8 (patch)
tree8266077b34ce63dd09690d97e5e67446f8afc665 /src/SMAPI/Metadata
parent71efadf2322a622bc5a74614b1575d2680a84165 (diff)
downloadSMAPI-316242eeb2b6b6e711ab98f64c147a59c1d0aab8.tar.gz
SMAPI-316242eeb2b6b6e711ab98f64c147a59c1d0aab8.tar.bz2
SMAPI-316242eeb2b6b6e711ab98f64c147a59c1d0aab8.zip
merge ISemanticVersion interfaces into new project (#532)
Diffstat (limited to 'src/SMAPI/Metadata')
-rw-r--r--src/SMAPI/Metadata/InstructionMetadata.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Metadata/InstructionMetadata.cs b/src/SMAPI/Metadata/InstructionMetadata.cs
index 1063ae71..543d44a7 100644
--- a/src/SMAPI/Metadata/InstructionMetadata.cs
+++ b/src/SMAPI/Metadata/InstructionMetadata.cs
@@ -37,6 +37,9 @@ namespace StardewModdingAPI.Metadata
// rewrite for SMAPI 2.0
new VirtualEntryCallRemover(),
+ // rewrite for SMAPI 2.6
+ new TypeReferenceRewriter("StardewModdingAPI.ISemanticVersion", typeof(ISemanticVersion), type => type.Scope.Name == "StardewModdingAPI"), // moved to SMAPI.Toolkit.CoreInterfaces
+
// rewrite for Stardew Valley 1.3
new StaticFieldToConstantRewriter<int>(typeof(Game1), "tileSize", Game1.tileSize),