Fixes #107 "Requesting processing with recipe returning multiple items creates too many"

This commit is contained in:
Raoul Van den Berge
2016-06-12 10:45:15 +02:00
parent a3f376e361
commit 9344fe0365
2 changed files with 6 additions and 2 deletions

View File

@@ -3,6 +3,8 @@
### 0.7.11
**Bugfixes**
- Fixed crash with wireless grid
- Fixed high RF/t usage on external storage
- Fixed that requesting crafting processing task yields too many tasks
**Features**
- Right click on grid search bar clears the search query

View File

@@ -110,9 +110,11 @@ public class StorageHandler {
if (pattern != null) {
for (ItemStack output : pattern.getOutputs()) {
if (RefinedStorageUtils.compareStackNoQuantity(requested, output)) {
quantityPerRequest = output.stackSize;
quantityPerRequest += output.stackSize;
break;
if (!pattern.isProcessing()) {
break;
}
}
}