addToInventoryOrDrop

fun Player.addToInventoryOrDrop(vararg items: ItemStack)

Adds items to the Player's inventory or drops them on the ground if there is not enough space


fun Player.addToInventoryOrDrop(items: List<ItemStack>)

Adds items to the Player's inventory or drops them on the ground if there is not enough space.