fix crossplatform error due to Netcode references not being rewritten (#514)

This commit is contained in:
Jesse Plamondon-Willard 2018-05-16 01:08:47 -04:00
parent 639302aa65
commit 57aa4016ab
1 changed files with 4 additions and 0 deletions

View File

@ -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,