aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellEffects.cpp
diff options
context:
space:
mode:
authorPolarCookie <sei009@post.uit.no>2019-03-23 14:34:37 +0100
committerShauren <shauren.trinity@gmail.com>2021-11-24 22:42:13 +0100
commite182a38b014f5538c42432f871e094dc79c2b131 (patch)
treedcca61e62bcc2268fefabacd316581e6592c9119 /src/server/game/Spells/SpellEffects.cpp
parentbc628572fed1949a55ff7c2f2f4489f15008bd8c (diff)
Core/Item: Item Signature (#23119)
(cherry picked from commit a926a3088d39897fe3ab58239775661449498363)
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
-rw-r--r--src/server/game/Spells/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index a2d49c6150c..b5c58b10db9 100644
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -1374,7 +1374,7 @@ void Spell::DoCreateItem(uint32 itemId, ItemContext context /*= ItemContext::NON
}
// set the "Crafted by ..." property of the item
- if (pItem->GetTemplate()->GetClass() != ITEM_CLASS_CONSUMABLE && pItem->GetTemplate()->GetClass() != ITEM_CLASS_QUEST && newitemid != 6265 && newitemid != 6948)
+ if (pItem->GetTemplate()->HasSignature())
pItem->SetCreator(player->GetGUID());
// send info to the client