Make CraftInventory suitable for all inventories. Fixes BUKKIT-2788