summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-03-13 19:43:15 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-03-13 19:43:15 -0400
commita9b6b0ffa799cccbb1ad473357a8f503731da517 (patch)
tree64a69577f678a099ef07b369010b865fadb12061
parent327b6949d2bb20895048857c6227bf5887df2795 (diff)
downloadSMAPI-a9b6b0ffa799cccbb1ad473357a8f503731da517.tar.gz
SMAPI-a9b6b0ffa799cccbb1ad473357a8f503731da517.tar.bz2
SMAPI-a9b6b0ffa799cccbb1ad473357a8f503731da517.zip
don't rewrite for field to property changes in Stardew Valley 1.3 (#456)
The fields are still available (even if they changed return type). That will cause unnecessary rewrites for some mods after they're updated, so they can't be debugged into.
-rw-r--r--src/SMAPI/Metadata/InstructionMetadata.cs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/SMAPI/Metadata/InstructionMetadata.cs b/src/SMAPI/Metadata/InstructionMetadata.cs
index 603a43cb..4960a458 100644
--- a/src/SMAPI/Metadata/InstructionMetadata.cs
+++ b/src/SMAPI/Metadata/InstructionMetadata.cs
@@ -56,13 +56,6 @@ namespace StardewModdingAPI.Metadata
// rewrite for Stardew Valley 1.3
#if STARDEW_VALLEY_1_3
new StaticFieldToConstantRewriter<int>(typeof(Game1), "tileSize", Game1.tileSize),
- new FieldToPropertyRewriter(typeof(Character), nameof(Character.name), nameof(Character.Name)),
- new FieldToPropertyRewriter(typeof(GameLocation), nameof(GameLocation.isFarm), nameof(GameLocation.IsFarm)),
- new FieldToPropertyRewriter(typeof(GameLocation), nameof(GameLocation.isOutdoors), nameof(GameLocation.isOutdoors)),
- new FieldToPropertyRewriter(typeof(GameLocation), nameof(GameLocation.name), nameof(GameLocation.Name)),
- new FieldToPropertyRewriter(typeof(Item), nameof(Item.category), nameof(Item.Category)),
- new FieldToPropertyRewriter(typeof(SObject), nameof(SObject.quality), nameof(SObject.Quality)),
- new FieldToPropertyRewriter(typeof(SObject), nameof(SObject.stack), nameof(SObject.Stack)),
#endif
/****