mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
[Bug Fix] Fix Bot ^spellsettingsadd command (#2603)
This commit is contained in:
parent
dbba22b153
commit
35d22913b9
@ -10342,7 +10342,7 @@ void bot_command_spell_settings_add(Client *c, const Seperator *sep)
|
|||||||
bs.min_hp = min_hp;
|
bs.min_hp = min_hp;
|
||||||
bs.max_hp = max_hp;
|
bs.max_hp = max_hp;
|
||||||
|
|
||||||
if (!my_bot->UpdateBotSpellSetting(spell_id, &bs)) {
|
if (!my_bot->AddBotSpellSetting(spell_id, &bs)) {
|
||||||
c->Message(
|
c->Message(
|
||||||
Chat::White,
|
Chat::White,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user