summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/AssemblyRewriting/CacheEntry.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-12-18 15:37:23 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-12-18 15:37:23 -0500
commit23988a3c33a7a1616c2d36a2c4b7e3a2d06f4216 (patch)
tree42b66e7aaac4cdb5fcb1723c2b21d2f2a92eb4cd /src/StardewModdingAPI/Framework/AssemblyRewriting/CacheEntry.cs
parent487ae1dce92a410984a7c13bf0f30bdd0d878aea (diff)
downloadSMAPI-23988a3c33a7a1616c2d36a2c4b7e3a2d06f4216.tar.gz
SMAPI-23988a3c33a7a1616c2d36a2c4b7e3a2d06f4216.tar.bz2
SMAPI-23988a3c33a7a1616c2d36a2c4b7e3a2d06f4216.zip
migrate manifest & version to interfaces with backwards compatibility (#197)
Diffstat (limited to 'src/StardewModdingAPI/Framework/AssemblyRewriting/CacheEntry.cs')
-rw-r--r--src/StardewModdingAPI/Framework/AssemblyRewriting/CacheEntry.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Framework/AssemblyRewriting/CacheEntry.cs b/src/StardewModdingAPI/Framework/AssemblyRewriting/CacheEntry.cs
index 3dfbc78c..a747eaa8 100644
--- a/src/StardewModdingAPI/Framework/AssemblyRewriting/CacheEntry.cs
+++ b/src/StardewModdingAPI/Framework/AssemblyRewriting/CacheEntry.cs
@@ -36,7 +36,7 @@ namespace StardewModdingAPI.Framework.AssemblyRewriting
/// <param name="paths">The paths for the cached assembly.</param>
/// <param name="hash">The MD5 hash of the original assembly.</param>
/// <param name="currentVersion">The current SMAPI version.</param>
- public bool IsUpToDate(CachePaths paths, string hash, Version currentVersion)
+ public bool IsUpToDate(CachePaths paths, string hash, ISemanticVersion currentVersion)
{
return hash == this.Hash
&& this.ApiVersion == currentVersion.ToString()