mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(Core/Player): Fix NotAvoidSatisfy script hook to reference the current player (#23004)
This commit is contained in:
@@ -6833,7 +6833,7 @@ bool Player::Satisfy(DungeonProgressionRequirements const* ar, uint32 target_map
|
|||||||
|| missingPlayerItems.size() || missingPlayerQuests.size() || missingPlayerAchievements.size()
|
|| missingPlayerItems.size() || missingPlayerQuests.size() || missingPlayerAchievements.size()
|
||||||
|| missingLeaderItems.size() || missingLeaderQuests.size() || missingLeaderAchievements.size())
|
|| missingLeaderItems.size() || missingLeaderQuests.size() || missingLeaderAchievements.size())
|
||||||
{
|
{
|
||||||
if (!sScriptMgr->OnPlayerNotAvoidSatisfy(partyLeader, ar, target_map, report))
|
if (!sScriptMgr->OnPlayerNotAvoidSatisfy(this, ar, target_map, report))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (report)
|
if (report)
|
||||||
|
|||||||
Reference in New Issue
Block a user