Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/AgentQuitFromCraftingItemImplementation.java [135:147]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private void addCraftedItemCount(ItemStack is) {
        boolean variant = getVariant(is);

        if (variant) {
            int prev = (craftedItems.get(is.getUnlocalizedName()) == null ? 0
                    : craftedItems.get(is.getUnlocalizedName()));
            craftedItems.put(is.getUnlocalizedName(), prev + is.getCount());
        } else {
            int prev = (craftedItems.get(is.getItem().getUnlocalizedName()) == null ? 0
                    : craftedItems.get(is.getItem().getUnlocalizedName()));
            craftedItems.put(is.getItem().getUnlocalizedName(), prev + is.getCount());
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/RewardForCraftingItemImplementation.java [84:96]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private void addCraftedItemCount(ItemStack is) {
        boolean variant = getVariant(is);

        if (variant) {
            int prev = (craftedItems.get(is.getUnlocalizedName()) == null ? 0
                    : craftedItems.get(is.getUnlocalizedName()));
            craftedItems.put(is.getUnlocalizedName(), prev + is.getCount());
        } else {
            int prev = (craftedItems.get(is.getItem().getUnlocalizedName()) == null ? 0
                    : craftedItems.get(is.getItem().getUnlocalizedName()));
            craftedItems.put(is.getItem().getUnlocalizedName(), prev + is.getCount());
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



