fix(Core/Loot): Fixed looting personal items while being in master loot group. (#5389)
This commit is contained in:
@@ -25843,7 +25843,7 @@ void Player::StoreLootItem(uint8 lootSlot, Loot* loot)
|
|||||||
|
|
||||||
// Xinef: exploit protection, dont allow to loot normal items if player is not master loot and not below loot threshold
|
// Xinef: exploit protection, dont allow to loot normal items if player is not master loot and not below loot threshold
|
||||||
// Xinef: only quest, ffa and conditioned items
|
// Xinef: only quest, ffa and conditioned items
|
||||||
if (!item->is_underthreshold && !GetLootGUID().IsItem() && GetGroup() && GetGroup()->GetLootMethod() == MASTER_LOOT && GetGUID() != GetGroup()->GetMasterLooterGuid())
|
if (!item->is_underthreshold && loot->roundRobinPlayer && !GetLootGUID().IsItem() && GetGroup() && GetGroup()->GetLootMethod() == MASTER_LOOT && GetGUID() != GetGroup()->GetMasterLooterGuid())
|
||||||
if (qitem == nullptr && ffaitem == nullptr && conditem == nullptr)
|
if (qitem == nullptr && ffaitem == nullptr && conditem == nullptr)
|
||||||
{
|
{
|
||||||
SendLootRelease(GetLootGUID());
|
SendLootRelease(GetLootGUID());
|
||||||
|
|||||||
Reference in New Issue
Block a user