Core/Loot: Initial support for personal loot in gameobjects (non-instanced content)
Port From (https://github.com/TrinityCore/TrinityCore/commit/641390dca2329041a6ef513c2c9f7b28d42d2762)
This commit is contained in:
@@ -151,6 +151,8 @@ namespace Game.Chat
|
||||
uint displayId = gameObjectInfo.displayId;
|
||||
string name = gameObjectInfo.name;
|
||||
uint lootId = gameObjectInfo.GetLootId();
|
||||
if (type == GameObjectTypes.Chest && lootId == 0)
|
||||
lootId = gameObjectInfo.Chest.chestPersonalLoot;
|
||||
|
||||
// If we have a real object, send some info about it
|
||||
if (thisGO != null)
|
||||
|
||||
Reference in New Issue
Block a user