From 76b30d434612118623236321ab7b7ca286ffb3ed Mon Sep 17 00:00:00 2001 From: hondacrx Date: Tue, 16 Mar 2021 15:44:42 -0400 Subject: [PATCH] Core/Spells: Fixed two more crashes. --- Source/Game/Spells/SpellManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Game/Spells/SpellManager.cs b/Source/Game/Spells/SpellManager.cs index df3019fa1..d14dadff3 100644 --- a/Source/Game/Spells/SpellManager.cs +++ b/Source/Game/Spells/SpellManager.cs @@ -2563,7 +2563,7 @@ namespace Game.Entities spellInfo.Speed = spellsResult.Read(54); spellInfo.LaunchDelay = spellsResult.Read(55); spellInfo.StackAmount = spellsResult.Read(56); - spellInfo.EquippedItemClass = (ItemClass)spellsResult.Read(57); + spellInfo.EquippedItemClass = (ItemClass)spellsResult.Read(57); spellInfo.EquippedItemSubClassMask = spellsResult.Read(58); spellInfo.EquippedItemInventoryTypeMask = spellsResult.Read(59); spellInfo.ContentTuningId = spellsResult.Read(60); @@ -4006,6 +4006,7 @@ namespace Game.Entities public ServersideSpellName(uint id, string name) { Name = new(); + Name.Name = new LocalizedString(); NameStorage = name; Name.Id = id;