mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
Fix SD3 Compile fail pt1 of 2
This commit is contained in:
parent
863285a59c
commit
02d178013f
1 changed files with 5 additions and 0 deletions
|
|
@ -8439,6 +8439,11 @@ void Player::SendLoot(ObjectGuid guid, LootType loot_type)
|
|||
|
||||
permission = OWNER_PERMISSION;
|
||||
}
|
||||
// Inform Instance Data, may be scripts related to OnSkinning like The Beast in UBRS
|
||||
if (InstanceData* mapInstance = creature->GetInstanceData())
|
||||
{
|
||||
mapInstance->OnCreatureLooted(creature, LOOT_SKINNING);
|
||||
}
|
||||
}
|
||||
// set group rights only for loot_type != LOOT_SKINNING
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue