mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
.
This commit is contained in:
@@ -521,8 +521,6 @@ void RandomPlayerbotFactory::CreateRandomGuilds()
|
|||||||
Guild* guild = new Guild();
|
Guild* guild = new Guild();
|
||||||
if (!guild->Create(player, guildName))
|
if (!guild->Create(player, guildName))
|
||||||
{
|
{
|
||||||
// it very strange, but sometimes Guild can't be created by unknown reason
|
|
||||||
// We already checked that player is exists and guildName are correct
|
|
||||||
LOG_ERROR("playerbots", "Error creating guild [ {} ] with leader [ {} ]", guildName.c_str(), player->GetName().c_str());
|
LOG_ERROR("playerbots", "Error creating guild [ {} ] with leader [ {} ]", guildName.c_str(), player->GetName().c_str());
|
||||||
delete guild;
|
delete guild;
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user