mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/AHBot: Fix AHBot bidding and correct logged AH type
Correct AuctionHouseType definition to log the right AH type.
Handle auctions without bidder but with a bid as bought by the AH Bot
Closes #14124
(cherry picked from commit 2eee1b349f)
Conflicts:
src/server/game/AuctionHouse/AuctionHouseMgr.cpp
This commit is contained in:
@@ -239,7 +239,7 @@ void AuctionBotConfig::GetConfigFromFile()
|
||||
|
||||
char const* AuctionBotConfig::GetHouseTypeName(AuctionHouseType houseType)
|
||||
{
|
||||
static char const* names[MAX_AUCTION_HOUSE_TYPE] = { "Alliance", "Horde", "Neutral" };
|
||||
static char const* names[MAX_AUCTION_HOUSE_TYPE] = { "Neutral", "Alliance", "Horde" };
|
||||
return names[houseType];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user