Skip to content

Commit 9bb424a

Browse files
Fix xml serialization dependency errors and remove unnecessary libraries
1 parent a743c68 commit 9bb424a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

SpawnsManager/SpawnsManager.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>net48</TargetFramework>
55
<LangVersion>latest</LangVersion>
66
<RootNamespace>RestoreMonarchy.SpawnsManager</RootNamespace>
7-
<Version>1.0.0</Version>
7+
<Version>1.0.1</Version>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="RestoreMonarchy.RocketRedist" Version="3.24.4" ExcludeAssets="*" />
11+
<PackageReference Include="RestoreMonarchy.RocketRedist" Version="3.24.4" ExcludeAssets="runtime" />
1212
</ItemGroup>
1313
</Project>

SpawnsManager/SpawnsManagerPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public partial class SpawnsManagerPlugin : RocketPlugin<SpawnsManagerConfigurati
1313
public static SpawnsManagerPlugin Instance { get; private set; }
1414

1515
public SpawnAssetsConfiguration SpawnAssetsConfiguration { get; set; }
16-
private XmlSerializer xmlSerializer = new(typeof(SpawnAssetsConfiguration));
16+
private XmlSerializer xmlSerializer = new(typeof(SpawnAssetsConfiguration), new XmlRootAttribute("SpawnAssetsConfiguration"));
1717

1818
protected override void Load()
1919
{

0 commit comments

Comments
 (0)