aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
diff options
context:
space:
mode:
authorGiacomo Pozzoni <giacomopoz@gmail.com>2019-03-12 15:53:22 +0100
committerGiacomo Pozzoni <giacomopoz@gmail.com>2019-03-12 16:09:45 +0100
commitfa8c0dd534723a573268ccd8bb40c0846cb35936 (patch)
tree81a685fbc3a1720476f5127032a79263e401ea98 /src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
parentf6d3a5b9b98b8f422588694a2197adacea62c675 (diff)
Revert "Core/AuctionHouse: use DisableMgr to disable specific items (#19289)"
This reverts commit f6d3a5b9b98b8f422588694a2197adacea62c675.
Diffstat (limited to 'src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp')
-rw-r--r--src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp b/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
index f0bc80ebbf9..d80a86fc478 100644
--- a/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
+++ b/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
@@ -20,7 +20,6 @@
#include "Containers.h"
#include "DatabaseEnv.h"
#include "DBCStores.h"
-#include "DisableMgr.h"
#include "GameTime.h"
#include "Item.h"
#include "Log.h"
@@ -63,6 +62,7 @@ bool AuctionBotSeller::Initialize()
}
TC_LOG_DEBUG("ahbot", "Forced Inclusion %u items", (uint32)includeItems.size());
+ TC_LOG_DEBUG("ahbot", "Forced Exclusion %u items", (uint32)excludeItems.size());
TC_LOG_DEBUG("ahbot", "Loading npc vendor items for filter..");
CreatureTemplateContainer const& creatures = sObjectMgr->GetCreatureTemplates();
@@ -120,9 +120,6 @@ bool AuctionBotSeller::Initialize()
if (excludeItems.count(itemId))
continue;
- if (DisableMgr::IsDisabledFor(DISABLE_TYPE_ITEM, itemId, nullptr, ITEM_DISABLE_AUCTIONHOUSE_BOT))
- continue;
-
// forced include filter
if (includeItems.count(itemId))
{