diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-26 23:11:41 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-26 23:11:41 -0400 |
commit | 0bf692addc3e309a8448de9ffb2a41cb701cfddf (patch) | |
tree | f616ea55e6f996d8f746ad96903184ece6774e99 /src/SMAPI/Metadata/InstructionMetadata.cs | |
parent | 54e7fb7a0bcd994f6d49348c879cb96902dbe07b (diff) | |
download | SMAPI-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.cs | 3 |
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); |