Fixes some errors with loot.
This commit is contained in:
@@ -827,10 +827,6 @@ namespace Game.Loots
|
||||
|
||||
void FillNotNormalLootFor(Player player)
|
||||
{
|
||||
if (_dungeonEncounterId != 0)
|
||||
if (player.IsLockedToDungeonEncounter(_dungeonEncounterId))
|
||||
return;
|
||||
|
||||
ObjectGuid plguid = player.GetGUID();
|
||||
_allowedLooters.Add(plguid);
|
||||
|
||||
@@ -841,6 +837,8 @@ namespace Game.Loots
|
||||
if (!item.AllowedForPlayer(player, this))
|
||||
continue;
|
||||
|
||||
item.AddAllowedLooter(player);
|
||||
|
||||
if (item.freeforall)
|
||||
{
|
||||
ffaItems.Add(new NotNormalLootItem((byte)item.LootListId));
|
||||
|
||||
Reference in New Issue
Block a user