mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Added 'no valid genders' conditional to bot create validation [ci skip]
This commit is contained in:
parent
053c35c59b
commit
ddd3e43d4e
@ -7670,6 +7670,8 @@ uint32 helper_bot_create(Client *bot_owner, std::string bot_name, uint8 bot_clas
|
|||||||
bot_owner->Message(m_fail, "gender: %u(F)", FEMALE);
|
bot_owner->Message(m_fail, "gender: %u(F)", FEMALE);
|
||||||
else if (RuleI(Bots, AllowedGenders) == 1)
|
else if (RuleI(Bots, AllowedGenders) == 1)
|
||||||
bot_owner->Message(m_fail, "gender: %u(M)", MALE);
|
bot_owner->Message(m_fail, "gender: %u(M)", MALE);
|
||||||
|
else
|
||||||
|
bot_owner->Message(m_fail, "gender: ERROR - No valid genders exist");
|
||||||
return bot_id;
|
return bot_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user