mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
.
This commit is contained in:
parent
0f5407e92e
commit
76155fc2ca
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user