Minecraft Comes Alive (MCA)

Minecraft Comes Alive (MCA)

13M Downloads

Baby doesn't grow when in spouse's inventory

MaxoutExtre opened this issue ยท 1 comments

commented

By giving your baby to your spouse, it will only pause its growth unless you take the baby back.

commented

Note to self:

        for (int i = 0; i < inventory.getSizeInventory(); i++)
        {
            ItemStack stack = inventory.getStackInSlot(i);

            if (stack != null && stack.getItem() instanceof ItemBaby)
            {
                ItemBaby item = (ItemBaby)stack.getItem();
                item.onUpdate(stack, worldObj, this, 1, false);
            }
        }