Core/Player: Recast lost by death item obtain spells of any items held in the inventory when resurrecting
This commit is contained in:
@@ -92,7 +92,7 @@ namespace Game
|
||||
{
|
||||
for (int i = 0; i < proto.Effects.Count; ++i)
|
||||
{
|
||||
SpellInfo spellInfo = Global.SpellMgr.GetSpellInfo(proto.Effects[i].SpellID);
|
||||
SpellInfo spellInfo = Global.SpellMgr.GetSpellInfo((uint)proto.Effects[i].SpellID);
|
||||
if (spellInfo != null)
|
||||
{
|
||||
if (!spellInfo.CanBeUsedInCombat())
|
||||
|
||||
Reference in New Issue
Block a user