diff options
Diffstat (limited to 'src/scripts/Commands/cs_misc.cpp')
-rw-r--r-- | src/scripts/Commands/cs_misc.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/scripts/Commands/cs_misc.cpp b/src/scripts/Commands/cs_misc.cpp index 6fadd18e76..715acec474 100644 --- a/src/scripts/Commands/cs_misc.cpp +++ b/src/scripts/Commands/cs_misc.cpp @@ -1510,7 +1510,9 @@ public: if (!playerTarget) playerTarget = player; - ;//sLog->outDetail(handler->GetTrinityString(LANG_ADDITEM), itemId, count); +#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS + sLog->outDetail(handler->GetTrinityString(LANG_ADDITEM), itemId, count); +#endif ItemTemplate const* itemTemplate = sObjectMgr->GetItemTemplate(itemId); if (!itemTemplate) @@ -1597,7 +1599,9 @@ public: if (!playerTarget) playerTarget = player; - ;//sLog->outDetail(handler->GetTrinityString(LANG_ADDITEMSET), itemSetId); +#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS + sLog->outDetail(handler->GetTrinityString(LANG_ADDITEMSET), itemSetId); +#endif bool found = false; ItemTemplateContainer const* its = sObjectMgr->GetItemTemplateStore(); |