mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 11:48:37 +00:00
[Inventory] Add GetInventorySlots() Method (#4566)
* [Inventory] Add GetInventorySlots() Method * Update client.cpp * Push
This commit is contained in:
+2
-2
@@ -859,9 +859,9 @@ bool NPC::HasItem(uint32 item_id)
|
||||
return false;
|
||||
}
|
||||
|
||||
uint16 NPC::CountItem(uint32 item_id)
|
||||
uint32 NPC::CountItem(uint32 item_id)
|
||||
{
|
||||
uint16 item_count = 0;
|
||||
uint32 item_count = 0;
|
||||
if (!database.GetItem(item_id)) {
|
||||
return item_count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user