[Bots] Change HasBotItem(item_id) to return slot_id instead of bool. (#2966)

This commit is contained in:
Aeadoin
2023-02-19 16:13:28 -05:00
committed by GitHub
parent 443abf9199
commit c13f9f80d9
6 changed files with 11 additions and 15 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ uint32 Perl_Bot_CountBotItem(Bot* self, uint32 item_id)
return self->CountBotItem(item_id);
}
bool Perl_Bot_HasBotItem(Bot* self, uint32 item_id)
int16 Perl_Bot_HasBotItem(Bot* self, uint32 item_id)
{
return self->HasBotItem(item_id);
}