mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(Core/Loot): Fix crash for round robin loot mode when solving quest item for offline loot owner. (#20033)
This commit is contained in:
committed by
GitHub
parent
537bfb016e
commit
7dd460581d
@@ -700,7 +700,9 @@ QuestItemList* Loot::FillQuestLoot(Player* player)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Player is not the loot owner, and loot owner still needs this quest item
|
// Player is not the loot owner, and loot owner still needs this quest item
|
||||||
if (!item.freeforall && lootOwner != player && item.AllowedForPlayer(lootOwner, sourceWorldObjectGUID))
|
if (!item.freeforall &&
|
||||||
|
lootOwner && lootOwner != player &&
|
||||||
|
item.AllowedForPlayer(lootOwner, sourceWorldObjectGUID))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user