From 0150e1a994fca8fdf6852a2621d6974cebaf2233 Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Mon, 27 Feb 2023 09:01:50 -0800 Subject: [PATCH] fix: Fixes broken chair (#1356) --- .github/workflows/create-release.yml | 2 +- .../Special/Broken Furniture Collection/BrokenFallenChair.cs | 3 ++- .../Migrations/Server.Items.BrokenFallenChairAddon.v0.json | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 Projects/UOContent/Migrations/Server.Items.BrokenFallenChairAddon.v0.json diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index da3d928bf..98b416b2d 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -17,7 +17,7 @@ jobs: - name: Setup .NET 7 uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.101 + dotnet-version: 7.0.201 - name: Install NGBV uses: dotnet/nbgv@master id: nbgv diff --git a/Projects/UOContent/Items/Special/Broken Furniture Collection/BrokenFallenChair.cs b/Projects/UOContent/Items/Special/Broken Furniture Collection/BrokenFallenChair.cs index 0a0982feb..2f344cb4a 100644 --- a/Projects/UOContent/Items/Special/Broken Furniture Collection/BrokenFallenChair.cs +++ b/Projects/UOContent/Items/Special/Broken Furniture Collection/BrokenFallenChair.cs @@ -13,7 +13,8 @@ public partial class BrokenFallenChairComponent : AddonComponent public override int LabelNumber => 1076264; // Broken Fallen Chair } -public class BrokenFallenChairAddon : BaseAddon +[SerializationGenerator(0)] +public partial class BrokenFallenChairAddon : BaseAddon { [Constructible] public BrokenFallenChairAddon() diff --git a/Projects/UOContent/Migrations/Server.Items.BrokenFallenChairAddon.v0.json b/Projects/UOContent/Migrations/Server.Items.BrokenFallenChairAddon.v0.json new file mode 100644 index 000000000..450bb6cc3 --- /dev/null +++ b/Projects/UOContent/Migrations/Server.Items.BrokenFallenChairAddon.v0.json @@ -0,0 +1,4 @@ +{ + "version": 0, + "type": "Server.Items.BrokenFallenChairAddon" +} \ No newline at end of file