toggle menu
xalib
JVM
switch theme
search in API
xalib
/
eu.xap3y.xalib.utils
/
Utils
/
hasEnoughSpace
has
Enough
Space
@
JvmStatic
fun
hasEnoughSpace
(
player
:
Player
,
neededSize
:
Int
)
:
Boolean
Check if player has enough space in inventory
Return
Boolean
Parameters
player
Player
needed
Size
Int - needed empty slots