From 57aa4016abaa1385fbc954c62e3f76d9496c6a42 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 16 May 2018 01:08:47 -0400 Subject: [PATCH] fix crossplatform error due to Netcode references not being rewritten (#514) --- src/SMAPI/Constants.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SMAPI/Constants.cs b/src/SMAPI/Constants.cs index 5347deff..bea4bb20 100644 --- a/src/SMAPI/Constants.cs +++ b/src/SMAPI/Constants.cs @@ -117,6 +117,7 @@ namespace StardewModdingAPI case Platform.Mac: removeAssemblyReferences = new[] { + "Netcode", "Stardew Valley", "Microsoft.Xna.Framework", "Microsoft.Xna.Framework.Game", @@ -124,6 +125,7 @@ namespace StardewModdingAPI }; targetAssemblies = new[] { + typeof(Netcode.NetBool).Assembly, typeof(StardewValley.Game1).Assembly, typeof(Microsoft.Xna.Framework.Vector2).Assembly }; @@ -132,11 +134,13 @@ namespace StardewModdingAPI case Platform.Windows: removeAssemblyReferences = new[] { + "Netcode", "StardewValley", "MonoGame.Framework" }; targetAssemblies = new[] { + typeof(Netcode.NetBool).Assembly, typeof(StardewValley.Game1).Assembly, typeof(Microsoft.Xna.Framework.Vector2).Assembly, typeof(Microsoft.Xna.Framework.Game).Assembly,