Advanced Peripherals

Advanced Peripherals

29M Downloads

Add inventory size methods to InventoryManager

nicholasrobertm opened this issue ยท 1 comments

commented

Describe your idea

Would be useful to be able to check if a player's inventory had space in it or not when dealing with inventory operations. Maybe something like
getEmptySpace() - returns the amount of empty slots
and
isSpaceAvailable() - returns true if there is an empty slot

Describe alternatives you've considered if you've any

No response

Additional context

No response

Linked Issues

No response

commented

Added in 0.7.4r