giveItem

fun giveItem(player: Player, itemStack: ItemStack): Boolean

Try to give an item stack to a player.

Return

true if added to inventory, false if full

Parameters

player

the Player to receive the item

itemStack

the ItemStack to give