- Changed item usage value on new method (#1692)

This commit is contained in:
kadeshar 2025-10-02 00:10:19 +02:00 committed by GitHub
parent 1ea17e593a
commit aea58414b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,7 @@ ItemUsage ItemUsageValue::Calculate()
if (bot->HasSpell(proto->Spells[2].SpellId))
needItem = false;
else
needItem = bot->CanUseItem(proto) == EQUIP_ERR_OK;
needItem = bot->BotCanUseItem(proto) == EQUIP_ERR_OK;
}
}