summaryrefslogtreecommitdiff
path: root/src/SMAPI/Metadata/InstructionMetadata.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-08-26 23:11:41 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-08-26 23:11:41 -0400
commit0bf692addc3e309a8448de9ffb2a41cb701cfddf (patch)
treef616ea55e6f996d8f746ad96903184ece6774e99 /src/SMAPI/Metadata/InstructionMetadata.cs
parent54e7fb7a0bcd994f6d49348c879cb96902dbe07b (diff)
downloadSMAPI-0bf692addc3e309a8448de9ffb2a41cb701cfddf.tar.gz
SMAPI-0bf692addc3e309a8448de9ffb2a41cb701cfddf.tar.bz2
SMAPI-0bf692addc3e309a8448de9ffb2a41cb701cfddf.zip
add heuristic rewrite for field => const changes
Diffstat (limited to 'src/SMAPI/Metadata/InstructionMetadata.cs')
-rw-r--r--src/SMAPI/Metadata/InstructionMetadata.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/SMAPI/Metadata/InstructionMetadata.cs b/src/SMAPI/Metadata/InstructionMetadata.cs
index 86e16e1e..09a199f9 100644
--- a/src/SMAPI/Metadata/InstructionMetadata.cs
+++ b/src/SMAPI/Metadata/InstructionMetadata.cs
@@ -35,9 +35,6 @@ namespace StardewModdingAPI.Metadata
if (platformChanged)
yield return new MethodParentRewriter(typeof(SpriteBatch), typeof(SpriteBatchFacade));
- // rewrite for Stardew Valley 1.3
- yield return new StaticFieldToConstantRewriter<int>(typeof(Game1), "tileSize", Game1.tileSize);
-
// heuristic rewrites
yield return new HeuristicFieldRewriter(this.ValidateReferencesToAssemblies);
yield return new HeuristicMethodRewriter(this.ValidateReferencesToAssemblies);