tryGiveItem

fun tryGiveItem(item: ItemStack, player: Player): HashMap<Int, ItemStack>

Adds item to player's inventory; returns the leftover that did not fit (empty if all fit).