diff --git a/zone/bot_commands/bot_cast.cpp b/zone/bot_commands/bot_cast.cpp index 0f9e954dc..f76ee3e7c 100644 --- a/zone/bot_commands/bot_cast.cpp +++ b/zone/bot_commands/bot_cast.cpp @@ -357,7 +357,7 @@ void bot_command_cast(Client* c, const Seperator* sep) } } - if (!aa_type && !by_spell_id) { + if (!aa_type && !by_spell_id && tar) { if (IsPetBotSpellType(spell_type) && !tar->IsPet()) { c->Message( Chat::Yellow,