mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10751] Use objectguids in item code.
Also * Fixed unexpected container updated state after inventory load * Make .debug getitemstate command more friendly by args.
This commit is contained in:
parent
bbd34562a8
commit
2601022b9f
14 changed files with 173 additions and 110 deletions
|
|
@ -3897,7 +3897,7 @@ void Spell::EffectSummonChangeItem(SpellEffectIndex eff_idx)
|
|||
return;
|
||||
|
||||
// ... only to item in own inventory/bank/equip_slot
|
||||
if (m_CastItem->GetOwnerGUID()!=player->GetGUID())
|
||||
if (m_CastItem->GetOwnerGuid() != player->GetObjectGuid())
|
||||
return;
|
||||
|
||||
uint32 newitemid = m_spellInfo->EffectItemType[eff_idx];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue