Bugfix - PlayerbotGuildMgr not respecting real player guilds. (#1972)

Minor fix to address small bug introduced by #1913
This commit is contained in:
Keleborn 2026-01-05 16:31:02 -08:00 committed by GitHub
parent 962fdeb3d1
commit b13fb7d12a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,7 +95,7 @@ std::string PlayerbotGuildMgr::AssignToGuild(Player* player)
for (auto& keyValue : _guildCache)
{
GuildCache& cached = keyValue.second;
if (cached.status == 1 && cached.faction == playerFaction)
if (!cached.hasRealPlayer && cached.status == 1 && cached.faction == playerFaction)
partiallyfilledguilds.push_back(&cached);
}