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:
|
case Platform.Mac:
|
||||||
removeAssemblyReferences = new[]
|
removeAssemblyReferences = new[]
|
||||||
{
|
{
|
||||||
|
"Netcode",
|
||||||
"Stardew Valley",
|
"Stardew Valley",
|
||||||
"Microsoft.Xna.Framework",
|
"Microsoft.Xna.Framework",
|
||||||
"Microsoft.Xna.Framework.Game",
|
"Microsoft.Xna.Framework.Game",
|
||||||
|
@ -124,6 +125,7 @@ namespace StardewModdingAPI
|
||||||
};
|
};
|
||||||
targetAssemblies = new[]
|
targetAssemblies = new[]
|
||||||
{
|
{
|
||||||
|
typeof(Netcode.NetBool).Assembly,
|
||||||
typeof(StardewValley.Game1).Assembly,
|
typeof(StardewValley.Game1).Assembly,
|
||||||
typeof(Microsoft.Xna.Framework.Vector2).Assembly
|
typeof(Microsoft.Xna.Framework.Vector2).Assembly
|
||||||
};
|
};
|
||||||
|
@ -132,11 +134,13 @@ namespace StardewModdingAPI
|
||||||
case Platform.Windows:
|
case Platform.Windows:
|
||||||
removeAssemblyReferences = new[]
|
removeAssemblyReferences = new[]
|
||||||
{
|
{
|
||||||
|
"Netcode",
|
||||||
"StardewValley",
|
"StardewValley",
|
||||||
"MonoGame.Framework"
|
"MonoGame.Framework"
|
||||||
};
|
};
|
||||||
targetAssemblies = new[]
|
targetAssemblies = new[]
|
||||||
{
|
{
|
||||||
|
typeof(Netcode.NetBool).Assembly,
|
||||||
typeof(StardewValley.Game1).Assembly,
|
typeof(StardewValley.Game1).Assembly,
|
||||||
typeof(Microsoft.Xna.Framework.Vector2).Assembly,
|
typeof(Microsoft.Xna.Framework.Vector2).Assembly,
|
||||||
typeof(Microsoft.Xna.Framework.Game).Assembly,
|
typeof(Microsoft.Xna.Framework.Game).Assembly,
|
||||||
|
|
Loading…
Reference in New Issue