From 35d22913b92f00170eee5b0a635d0581422cd411 Mon Sep 17 00:00:00 2001 From: Aeadoin <109764533+Aeadoin@users.noreply.github.com> Date: Thu, 1 Dec 2022 14:25:23 -0500 Subject: [PATCH] [Bug Fix] Fix Bot ^spellsettingsadd command (#2603) --- zone/bot_command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/bot_command.cpp b/zone/bot_command.cpp index a917b73af..a6303ccb3 100644 --- a/zone/bot_command.cpp +++ b/zone/bot_command.cpp @@ -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(