mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 04:37:16 +00:00
[Crash] Fix crash with EVENT_UNEQUIP_ITEM_BOT (#2973)
This commit is contained in:
1 parent
df499b22ab
commit
6a668f8aa5
2 files changed
+10
-11
No files matched your search
@@ -9320,7 +9320,7 @@ void bot_subcommand_inventory_remove(Client *c, const Seperator *sep)
|
||||
return;
|
||||
}
|
||||
|
||||
const auto* inst = my_bot->GetBotItem(slot_id);
|
||||
auto* inst = my_bot->GetBotItem(slot_id);
|
||||
if (!inst) {
|
||||
std::string slot_message = "is";
|
||||
switch (slot_id) {
|
||||
|
||||
Reference in new issue
Block a user