From 27e00cc73f705aa291b02b5c0b5abef15cbb9154 Mon Sep 17 00:00:00 2001 From: Mink80 <46659983+Mink80@users.noreply.github.com> Date: Wed, 5 Jul 2023 01:14:04 +0200 Subject: [PATCH] fix: Fixes spellbook not showing SpellCount when added non-empty. (#1424) --- Projects/UOContent/Items/Skill Items/Magical/Spellbook.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Projects/UOContent/Items/Skill Items/Magical/Spellbook.cs b/Projects/UOContent/Items/Skill Items/Magical/Spellbook.cs index dc91575a0..94faaf767 100644 --- a/Projects/UOContent/Items/Skill Items/Magical/Spellbook.cs +++ b/Projects/UOContent/Items/Skill Items/Magical/Spellbook.cs @@ -118,7 +118,8 @@ public partial class Spellbook : Item, ICraftable, ISlayer, IAosItem Layer = Layer.OneHanded; LootType = LootType.Blessed; - _content = content; + // The setter is calculating the spell count + Content = content; } public override bool DisplayWeight => false;