Update changelog + increase max crafting request size

This commit is contained in:
Raoul Van den Berge
2016-05-21 16:13:56 +02:00
parent 467cb6c62d
commit 4a7190c2cf
3 changed files with 10 additions and 5 deletions

View File

@@ -1,5 +1,12 @@
# Refined Storage Changelog
### 0.6.10
**Bugfixes**
- Fixed Processing Patterns not working
- Fixed not being able to request more than 1 item at once
- Fixed crash with the Solderer
- Increased max crafting request size to 500
### 0.6.9
**Bugfixes**
- Fixed bug where machines wouldn't disconnect / connect when needed outside of chunk

View File

@@ -66,7 +66,7 @@ public class TileController extends TileBase implements IEnergyReceiver, ISynchr
public static final String NBT_CRAFTING_TASKS = "CraftingTasks";
public static final String NBT_DESC_ENERGY = "Energy";
public static final int MAX_CRAFTING_QUANTITY_PER_REQUEST = 100;
public static final int MAX_CRAFTING_QUANTITY_PER_REQUEST = 500;
private List<ItemGroup> itemGroups = new ArrayList<ItemGroup>();
private List<IStorage> storages = new ArrayList<IStorage>();

View File

@@ -89,16 +89,14 @@ public class ProcessingCraftingTask implements ICraftingTask {
return true;
}
public boolean onPushed(ItemStack inserted) {
public void onPushed(ItemStack inserted) {
for (int i = 0; i < pattern.getOutputs().length; ++i) {
if (!satisfied[i] && RefinedStorageUtils.compareStackNoQuantity(inserted, pattern.getOutputs()[i])) {
satisfied[i] = true;
return true;
return;
}
}
return false;
}
@Override