Fixed a bug involving crashes upon creating a new MinecraftInventory