fix: Fixes spellbook not showing SpellCount when added non-empty. (#1424)

This commit is contained in:
Mink80 2023-07-05 01:14:04 +02:00 committed by GitHub
parent 3b97e8d39c
commit 27e00cc73f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;