fix crossplatform error due to Netcode references not being rewritten (#514)
This commit is contained in:
parent
639302aa65
commit
57aa4016ab
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue