Fixed deprecation of getting ItemStack by id