Core/Items: Add ItemContext param to Item::Create function
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a2d9ad2f7673e2b7ee62b7cc6f1a19639d37864)
This commit is contained in:
@@ -5031,7 +5031,7 @@ namespace Game.Spells
|
||||
if (creature.GetCreatureTemplate().SkinLootId == 0)
|
||||
return;
|
||||
|
||||
player.AutoStoreLoot(creature.GetCreatureTemplate().SkinLootId, LootStorage.Skinning, true);
|
||||
player.AutoStoreLoot(creature.GetCreatureTemplate().SkinLootId, LootStorage.Skinning, ItemContext.None, true);
|
||||
|
||||
creature.DespawnOrUnsummon();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user