From 5b128b3300d3fe0e14c174f196cd6d0442ebfa44 Mon Sep 17 00:00:00 2001 From: kadeshar Date: Thu, 9 Oct 2025 08:02:44 +0200 Subject: [PATCH] - Update method in QueryItemUsageForEquip (#1701) --- src/strategy/values/ItemUsageValue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategy/values/ItemUsageValue.cpp b/src/strategy/values/ItemUsageValue.cpp index b0630b86..136c74f8 100644 --- a/src/strategy/values/ItemUsageValue.cpp +++ b/src/strategy/values/ItemUsageValue.cpp @@ -236,7 +236,7 @@ ItemUsage ItemUsageValue::Calculate() ItemUsage ItemUsageValue::QueryItemUsageForEquip(ItemTemplate const* itemProto, int32 randomPropertyId) { - if (bot->CanUseItem(itemProto) != EQUIP_ERR_OK) + if (bot->BotCanUseItem(itemProto) != EQUIP_ERR_OK) return ITEM_USAGE_NONE; if (itemProto->InventoryType == INVTYPE_NON_EQUIP)