Fixes #107 "Requesting processing with recipe returning multiple items creates too many"
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -110,11 +110,13 @@ public class StorageHandler {
|
||||
if (pattern != null) {
|
||||
for (ItemStack output : pattern.getOutputs()) {
|
||||
if (RefinedStorageUtils.compareStackNoQuantity(requested, output)) {
|
||||
quantityPerRequest = output.stackSize;
|
||||
quantityPerRequest += output.stackSize;
|
||||
|
||||
if (!pattern.isProcessing()) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
while (quantity > 0) {
|
||||
controller.addCraftingTaskAsLast(controller.createCraftingTask(pattern));
|
||||
|
||||
Reference in New Issue
Block a user