Fix spacing issue and removed unnecessary spaces (#1684)

* Fix spacing issue and removed unnecessary spaces

* Added spaces where suggested
This commit is contained in:
Revision
2025-09-30 15:25:53 +02:00
committed by GitHub
parent 0cc15411c1
commit a5120c0a7c
2 changed files with 111 additions and 108 deletions

View File

@@ -892,7 +892,7 @@ void RandomPlayerbotFactory::CreateRandomGuilds()
availableLeaders.push_back(leader);
}
}
// Create up to randomBotGuildCount by counting only EFFECTIVE creations
uint32 createdThisRun = 0;
for (; guildNumber < sPlayerbotAIConfig->randomBotGuildCount; /* ++guildNumber -> done only if creation */)
@@ -972,7 +972,7 @@ void RandomPlayerbotFactory::CreateRandomGuilds()
LOG_DEBUG("playerbots",
"[TABARD] DB check guild id={} => style={}, color={}, borderStyle={}, borderColor={}, bgColor={}",
guild->GetId(), f[0].Get<uint8>(), f[1].Get<uint8>(), f[2].Get<uint8>(), f[3].Get<uint8>(), f[4].Get<uint8>());
}
}
sPlayerbotAIConfig->randomBotGuilds.push_back(guild->GetId());
// The guild is only counted if it is actually created