[Bug Fix] Fix Bot ^spellsettingsadd command (#2603)

This commit is contained in:
Aeadoin
2022-12-01 14:25:23 -05:00
committed by GitHub
parent dbba22b153
commit 35d22913b9
+1 -1
View File
@@ -10342,7 +10342,7 @@ void bot_command_spell_settings_add(Client *c, const Seperator *sep)
bs.min_hp = min_hp;
bs.max_hp = max_hp;
if (!my_bot->UpdateBotSpellSetting(spell_id, &bs)) {
if (!my_bot->AddBotSpellSetting(spell_id, &bs)) {
c->Message(
Chat::White,
fmt::format(