Core/Loot: Prevent looting bosses by players that have already completed that encounter
Port From (https://github.com/TrinityCore/TrinityCore/commit/9ce47e6809eecc891904e272b368596fdc55e6a4)
This commit is contained in:
@@ -208,7 +208,7 @@ namespace Game.Loots
|
||||
// saved to the DB that the player never should have gotten. This check prevents that, so that only
|
||||
// items that the player should get in loot are in the DB.
|
||||
// IE: Horde items are not saved to the DB for Ally players.
|
||||
if (!li.AllowedForPlayer(player))
|
||||
if (!li.AllowedForPlayer(player, loot))
|
||||
continue;
|
||||
|
||||
// Don't save currency tokens
|
||||
|
||||
Reference in New Issue
Block a user