mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00: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