Skip to content

Commit

Permalink
fix: Updates schema generator to 2.6.4 (#1452)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamronbatman authored Aug 11, 2023
1 parent 09fc305 commit 455b11d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"modernuoschemagenerator": {
"version": "2.6.1",
"version": "2.6.4",
"commands": [
"ModernUOSchemaGenerator"
]
Expand Down
6 changes: 2 additions & 4 deletions Projects/Server/Mobiles/Mods/MobileMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ public partial class MobileMod
[SerializableField(0)]
private string _name;

public MobileMod(Mobile owner) => Owner = owner;

public MobileMod(Mobile owner, string name)
public MobileMod(Mobile owner, string name = null)
{
Owner = owner;
Name = name;
_name = name;
}
}
2 changes: 1 addition & 1 deletion Projects/Server/Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<PackageReference Include="Zlib.Bindings" Version="1.11.0" />

<PackageReference Include="ModernUO.Serialization.Annotations" Version="2.6.0" />
<PackageReference Include="ModernUO.Serialization.Generator" Version="2.6.2" />
<PackageReference Include="ModernUO.Serialization.Generator" Version="2.6.4" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="Migrations/*.v*.json" />
Expand Down
12 changes: 7 additions & 5 deletions Projects/UOContent/Items/Skill Items/Magical/Runebook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -403,11 +403,13 @@ public partial class RunebookEntry
[SerializableFieldSaveFlag(3)]
public bool ShouldSerializeDesc() => _house?.Deleted != false;

public RunebookEntry(Runebook runebook) : this(runebook, new Point3D(), null, null)
{
}

public RunebookEntry(Runebook runebook, Point3D loc, Map map, string description, BaseHouse house = null)
public RunebookEntry(
Runebook runebook,
Point3D loc = new(),
Map map = null,
string description = null,
BaseHouse house = null
)
{
_runebook = runebook;
_house = house;
Expand Down
2 changes: 1 addition & 1 deletion Projects/UOContent/UOContent.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<PackageReference Include="Zstd.Binaries" Version="1.6.0" />

<PackageReference Include="ModernUO.Serialization.Annotations" Version="2.6.0" />
<PackageReference Include="ModernUO.Serialization.Generator" Version="2.6.2" />
<PackageReference Include="ModernUO.Serialization.Generator" Version="2.6.4" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="Migrations/*.v*.json" />
Expand Down

0 comments on commit 455b11d

Please sign in to comment.