From 33aa257344098f3e51b7b9ac79d9d4e9b68634ca Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Fri, 30 Dec 2022 10:48:42 -0800 Subject: [PATCH] fix: Fixes missing codegen for ShipWright (#1316) --- .../UOContent/Migrations/Server.Mobiles.Shipwright.v0.json | 4 ++++ Projects/UOContent/Mobiles/Vendors/NPC/Shipwright.cs | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Projects/UOContent/Migrations/Server.Mobiles.Shipwright.v0.json diff --git a/Projects/UOContent/Migrations/Server.Mobiles.Shipwright.v0.json b/Projects/UOContent/Migrations/Server.Mobiles.Shipwright.v0.json new file mode 100644 index 000000000..74f5d4585 --- /dev/null +++ b/Projects/UOContent/Migrations/Server.Mobiles.Shipwright.v0.json @@ -0,0 +1,4 @@ +{ + "version": 0, + "type": "Server.Mobiles.Shipwright" +} \ No newline at end of file diff --git a/Projects/UOContent/Mobiles/Vendors/NPC/Shipwright.cs b/Projects/UOContent/Mobiles/Vendors/NPC/Shipwright.cs index eadd3562b..835fcdea4 100644 --- a/Projects/UOContent/Mobiles/Vendors/NPC/Shipwright.cs +++ b/Projects/UOContent/Mobiles/Vendors/NPC/Shipwright.cs @@ -1,9 +1,11 @@ using System.Collections.Generic; +using ModernUO.Serialization; using Server.Items; namespace Server.Mobiles { - public class Shipwright : BaseVendor + [SerializationGenerator(0, false)] + public partial class Shipwright : BaseVendor { private readonly List m_SBInfos = new();