mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
update 6.7
This commit is contained in:
@@ -121,6 +121,7 @@ class PokemonBag
|
||||
|
||||
def pbQuantity(item)
|
||||
item = GameData::Item.get(item)
|
||||
return 0 unless item
|
||||
pocket = item.pocket
|
||||
return ItemStorageHelper.pbQuantity(@pockets[pocket], item.id)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user