Core/Misc: Fixed player corpse looting, added player corpse loot and some more
Port From (https://github.com/TrinityCore/TrinityCore/commit/89f728cd5b6ae3041fdae3c853ac4b0ac5f0a848)
This commit is contained in:
@@ -90,6 +90,9 @@ namespace Game.Loots
|
||||
foreach (var id in lootIdSetUsed)
|
||||
lootIdSet.Remove(id);
|
||||
|
||||
// 1 means loot for player corpse
|
||||
lootIdSet.Remove(SharedConst.PlayerCorpseLootEntry);
|
||||
|
||||
// output error for any still listed (not referenced from appropriate table) ids
|
||||
Creature.ReportUnusedIds(lootIdSet);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user