mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Merge pull request #16264 from Treeston/3.3.5-noffalooter
Looting/Group: Do not display looter in tooltip when FFA loot is enabled
This commit is contained in:
@@ -2274,6 +2274,8 @@ LootMethod Group::GetLootMethod() const
|
||||
|
||||
ObjectGuid Group::GetLooterGuid() const
|
||||
{
|
||||
if (GetLootMethod() == FREE_FOR_ALL)
|
||||
return ObjectGuid::Empty;
|
||||
return m_looterGuid;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user