addToInventoryOrDrop

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.