Core/Loot: Fix conditional Master Loot
This commit is contained in:
@@ -1915,7 +1915,7 @@ namespace Game.Entities
|
||||
|
||||
// If container item is in a bag, add that player as an allowed looter
|
||||
if (GetBagSlot() != 0)
|
||||
loot_item.allowedGUIDs.Add(GetOwner().GetGUID());
|
||||
loot_item.AddAllowedLooter(GetOwner());
|
||||
|
||||
// Finally add the LootItem to the container
|
||||
loot.items.Add(loot_item);
|
||||
|
||||
@@ -5975,9 +5975,9 @@ namespace Game.Entities
|
||||
public void SetLootGUID(ObjectGuid guid) { SetGuidValue(PlayerFields.LootTargetGuid, guid); }
|
||||
public void StoreLootItem(byte lootSlot, Loot loot, AELootResult aeResult = null)
|
||||
{
|
||||
QuestItem qitem = null;
|
||||
QuestItem ffaitem = null;
|
||||
QuestItem conditem = null;
|
||||
NotNormalLootItem qitem = null;
|
||||
NotNormalLootItem ffaitem = null;
|
||||
NotNormalLootItem conditem = null;
|
||||
|
||||
LootItem item = loot.LootItemInSlot(lootSlot, this, out qitem, out ffaitem, out conditem);
|
||||
if (item == null)
|
||||
|
||||
Reference in New Issue
Block a user