We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 302281e commit e8d0de5Copy full SHA for e8d0de5
src/PlayerbotAI.cpp
@@ -4945,7 +4945,7 @@ Item* PlayerbotAI::FindLockedItem() const
4945
{
4946
return FindItemInInventory([this](ItemTemplate const* itemTemplate) -> bool
4947
4948
- if (!this->botAI->HasSkill(SKILL_LOCKPICKING)) // Ensure bot has Lockpicking skill
+ if (!this->bot->HasSkill(SKILL_LOCKPICKING)) // Ensure bot has Lockpicking skill
4949
return false;
4950
4951
if (itemTemplate->LockID == 0) // Ensure the item is actually locked
0 commit comments