From 9e19adc80ef5a470d5ca3ff80c160e6e62a3d375 Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Sat, 11 Jul 2020 15:52:51 +0200 Subject: [PATCH] Fix bug #2592 and update changelog for a0385e2477ebf1e0acfbb6e14bb3b440f2e4380c --- CHANGELOG.md | 2 ++ .../apiimpl/autocrafting/task/v6/CraftingTask.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49ac842e8..0526151a5 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ - Fixed Wireless Crafting Monitor not closing properly (raoulvdberge) - Fixed Controller always using energy, even when disabled with redstone (raoulvdberge) - Fixed internal crafting inventory not being returned when Controller is broken (raoulvdberge) +- Fixed bug where autocrafting tasks started on the same tick make the wrong assumption about available items and fluids (Darkere) +- Fixed bug where the "To craft" amount in the Crafting Preview window is wrong (raoulvdberge) - Drastically improved shift clicking performance in Crafting Grid (Darkere) - Removed autocrafting engine version from crafting preview screen (raoulvdberge) diff --git a/src/main/java/com/refinedmods/refinedstorage/apiimpl/autocrafting/task/v6/CraftingTask.java b/src/main/java/com/refinedmods/refinedstorage/apiimpl/autocrafting/task/v6/CraftingTask.java index 43e6e2ae4..1da0f77f0 100644 --- a/src/main/java/com/refinedmods/refinedstorage/apiimpl/autocrafting/task/v6/CraftingTask.java +++ b/src/main/java/com/refinedmods/refinedstorage/apiimpl/autocrafting/task/v6/CraftingTask.java @@ -256,11 +256,11 @@ public class CraftingTask implements ICraftingTask { if (requested.getItem() != null) { ItemStack req = requested.getItem().copy(); - req.setCount(qty); + req.setCount(qty * qtyPerCraft); this.toCraft.add(req); } else { FluidStack req = requested.getFluid().copy(); - req.setAmount(qty); + req.setAmount(qty * qtyPerCraft); this.toCraftFluids.add(req); }