From 58bc8b44fce6f642fcbcbb19f2efcd18c4e058de Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 3 Jan 2010 11:18:38 -0700 Subject: * Removed useless check for items in DBC but not in DB. --HG-- branch : trunk --- src/game/ItemHandler.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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) -- cgit v1.2.3