fix(Core): Crashfix. (#15337)

This commit is contained in:
UltraNix
2023-03-13 20:16:04 +01:00
committed by GitHub
parent 5890f8f7bb
commit 784c5e9416

View File

@@ -409,7 +409,10 @@ void WorldSession::DoLootRelease(ObjectGuid lguid)
}
//Player is not looking at loot list, he doesn't need to see updates on the loot list
loot->RemoveLooter(player->GetGUID());
if (!lguid.IsItem())
{
loot->RemoveLooter(player->GetGUID());
}
}
void WorldSession::HandleLootMasterGiveOpcode(WorldPacket& recvData)