mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10100] Fixed some cases assign low guid to full guid update field.
This commit is contained in:
parent
1780113912
commit
b8246b1dbb
6 changed files with 20 additions and 20 deletions
|
|
@ -3365,7 +3365,7 @@ void Spell::DoCreateItem(SpellEffectIndex eff_idx, uint32 itemtype)
|
|||
|
||||
// set the "Crafted by ..." property of the item
|
||||
if( pItem->GetProto()->Class != ITEM_CLASS_CONSUMABLE && pItem->GetProto()->Class != ITEM_CLASS_QUEST)
|
||||
pItem->SetUInt32Value(ITEM_FIELD_CREATOR, player->GetGUIDLow());
|
||||
pItem->SetGuidValue(ITEM_FIELD_CREATOR, player->GetObjectGuid());
|
||||
|
||||
// send info to the client
|
||||
if(pItem)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue