fix(Scripts/MoltenCore): Added loot recipient to Cache of the Firelord. (#13209)

This commit is contained in:
UltraNix 2022-10-08 18:28:30 +02:00 committed by GitHub
parent 811ef478f8
commit 49ee806584
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,7 +250,11 @@ public:
if (bossId == DATA_MAJORDOMO_EXECUTUS && state == DONE)
{
DoRespawnGameObject(_cacheOfTheFirelordGUID, 7 * DAY);
if (GameObject* cache = instance->GetGameObject(_cacheOfTheFirelordGUID))
{
cache->SetRespawnTime(7 * DAY);
cache->SetLootRecipient(instance);
}
}
else if (bossId == DATA_GOLEMAGG)
{