mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00:00
Bugfix - PlayerbotGuildMgr not respecting real player guilds. (#1972)
Minor fix to address small bug introduced by #1913
This commit is contained in:
@@ -95,7 +95,7 @@ std::string PlayerbotGuildMgr::AssignToGuild(Player* player)
|
|||||||
for (auto& keyValue : _guildCache)
|
for (auto& keyValue : _guildCache)
|
||||||
{
|
{
|
||||||
GuildCache& cached = keyValue.second;
|
GuildCache& cached = keyValue.second;
|
||||||
if (cached.status == 1 && cached.faction == playerFaction)
|
if (!cached.hasRealPlayer && cached.status == 1 && cached.faction == playerFaction)
|
||||||
partiallyfilledguilds.push_back(&cached);
|
partiallyfilledguilds.push_back(&cached);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user