ItemStack crafted;
ItemStack craftresultitem;
int count_remaining = count;
- bool found = getCraftingResult(inv_craft, crafted, false, gamedef);
+ getCraftingResult(inv_craft, crafted, false, gamedef);
PLAYER_TO_SA(player)->item_CraftPredict(crafted, player, list_craft, craft_inv);
- found = !crafted.empty();
+ bool found = !crafted.empty();
while(found && list_craftresult->itemFits(0, crafted))
{