Core/Items: Fix weapon transmogrification
Port From (https://github.com/TrinityCore/TrinityCore/commit/98c72f33ac14d3938c0471d3550296736c57048a)
This commit is contained in:
@@ -114,12 +114,12 @@ namespace Game
|
||||
return;
|
||||
}
|
||||
|
||||
if (transmogItem.ItemModifiedAppearanceID != 0 || transmogItem.SecondaryItemModifiedAppearanceID != 0)
|
||||
if (transmogItem.ItemModifiedAppearanceID != 0 || transmogItem.SecondaryItemModifiedAppearanceID > 0)
|
||||
{
|
||||
if (transmogItem.ItemModifiedAppearanceID != 0 && !validateAndStoreTransmogItem(itemTransmogrified, (uint)transmogItem.ItemModifiedAppearanceID, false))
|
||||
return;
|
||||
|
||||
if (transmogItem.SecondaryItemModifiedAppearanceID != 0 && !validateAndStoreTransmogItem(itemTransmogrified, (uint)transmogItem.SecondaryItemModifiedAppearanceID, true))
|
||||
if (transmogItem.SecondaryItemModifiedAppearanceID > 0 && !validateAndStoreTransmogItem(itemTransmogrified, (uint)transmogItem.SecondaryItemModifiedAppearanceID, true))
|
||||
return;
|
||||
|
||||
// add cost
|
||||
|
||||
Reference in New Issue
Block a user