summaryrefslogtreecommitdiff
path: root/src/scripts/Commands/cs_misc.cpp
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-08-20 04:59:52 +0200
committerGitHub <noreply@github.com>2017-08-20 04:59:52 +0200
commitc854b658828f66f69b13eb62c6a984de8e345b45 (patch)
tree0118efcdd8898db4857961009f8eac79ca27b4d4 /src/scripts/Commands/cs_misc.cpp
parentfa147d84d29b6ebd99af6f8eb9eb39476d2f0228 (diff)
parent0dd68dfbee97eb7ed2c9bd4109ba3f2aed697860 (diff)
Merge branch 'master' into master
Diffstat (limited to 'src/scripts/Commands/cs_misc.cpp')
-rw-r--r--src/scripts/Commands/cs_misc.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/scripts/Commands/cs_misc.cpp b/src/scripts/Commands/cs_misc.cpp
index 6ce0175e14..1af226c38e 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);
+#if defined(ENABLE_EXTRAS) && defined(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);
+#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
+ sLog->outDetail(handler->GetTrinityString(LANG_ADDITEMSET), itemSetId);
+#endif
bool found = false;
ItemTemplateContainer const* its = sObjectMgr->GetItemTemplateStore();