mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[10689] Restore some item checkes for temporary loot case.
This commit is contained in:
parent
e219ee99bb
commit
bffc07e4bc
8 changed files with 80 additions and 64 deletions
|
|
@ -1197,7 +1197,7 @@ void GameObject::Use(Unit* user)
|
|||
SetLootState(GO_JUST_DEACTIVATED);
|
||||
}
|
||||
else
|
||||
player->SendLoot(GetGUID(),LOOT_FISHING);
|
||||
player->SendLoot(GetObjectGuid(),LOOT_FISHING);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1392,7 +1392,7 @@ void GameObject::Use(Unit* user)
|
|||
|
||||
Player* player = (Player*)user;
|
||||
|
||||
player->SendLoot(GetGUID(), LOOT_FISHINGHOLE);
|
||||
player->SendLoot(GetObjectGuid(), LOOT_FISHINGHOLE);
|
||||
player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_FISH_IN_GAMEOBJECT, GetGOInfo()->id);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue