aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <runningnak3d@gmail.com>2010-01-03 11:18:38 -0700
committerBrian <runningnak3d@gmail.com>2010-01-03 11:18:38 -0700
commit58bc8b44fce6f642fcbcbb19f2efcd18c4e058de (patch)
treec59fc423807197cccba94da3276f73fdab0a9c94
parent073235ef1ba32ec1151812f4c34c72c6a3bbe6f0 (diff)
* Removed useless check for items in DBC but not in DB.
--HG-- branch : trunk
-rw-r--r--src/game/ItemHandler.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/ItemHandler.cpp b/src/game/ItemHandler.cpp
index 7b8113f0bbd..0deab92c6cc 100644
--- a/src/game/ItemHandler.cpp
+++ b/src/game/ItemHandler.cpp
@@ -998,14 +998,16 @@ void WorldSession::HandleItemNameQueryOpcode(WorldPacket & recv_data)
SendPacket(&data);
return;
}
- else
+// This is a BS check, there are lots of items listed in Item.dbc that do not even exist on official -- so we can NEVER get the data for them.
+// If you *really* want to spam your error log -- uncomment this.
+/* else
{
// listed in dbc or not expected to exist unknown item
if(sItemStore.LookupEntry(itemid))
sLog.outErrorDb("WORLD: CMSG_ITEM_NAME_QUERY for item %u failed (item listed in Item.dbc but not exist in DB)", itemid);
else
sLog.outError("WORLD: CMSG_ITEM_NAME_QUERY for item %u failed (unknown item, not listed in Item.dbc)", itemid);
- }
+ } */
}
void WorldSession::HandleWrapItemOpcode(WorldPacket& recv_data)