mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
refactor(Core/Loot): Simplify GetFishLoot with for loop and merge Get… (#21217)
This commit is contained in:
@@ -7885,7 +7885,7 @@ void Player::SendLoot(ObjectGuid guid, LootType loot_type)
|
||||
if (loot_type == LOOT_FISHING)
|
||||
go->GetFishLoot(loot, this);
|
||||
else if (loot_type == LOOT_FISHING_JUNK)
|
||||
go->GetFishLootJunk(loot, this);
|
||||
go->GetFishLoot(loot, this, true);
|
||||
|
||||
if (go->GetGOInfo()->type == GAMEOBJECT_TYPE_CHEST && go->GetGOInfo()->chest.groupLootRules)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user