Update changelog + increase max crafting request size
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
# Refined Storage Changelog
|
# 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
|
### 0.6.9
|
||||||
**Bugfixes**
|
**Bugfixes**
|
||||||
- Fixed bug where machines wouldn't disconnect / connect when needed outside of chunk
|
- Fixed bug where machines wouldn't disconnect / connect when needed outside of chunk
|
||||||
|
|||||||
@@ -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_CRAFTING_TASKS = "CraftingTasks";
|
||||||
public static final String NBT_DESC_ENERGY = "Energy";
|
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<ItemGroup> itemGroups = new ArrayList<ItemGroup>();
|
||||||
private List<IStorage> storages = new ArrayList<IStorage>();
|
private List<IStorage> storages = new ArrayList<IStorage>();
|
||||||
|
|||||||
@@ -89,16 +89,14 @@ public class ProcessingCraftingTask implements ICraftingTask {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean onPushed(ItemStack inserted) {
|
public void onPushed(ItemStack inserted) {
|
||||||
for (int i = 0; i < pattern.getOutputs().length; ++i) {
|
for (int i = 0; i < pattern.getOutputs().length; ++i) {
|
||||||
if (!satisfied[i] && RefinedStorageUtils.compareStackNoQuantity(inserted, pattern.getOutputs()[i])) {
|
if (!satisfied[i] && RefinedStorageUtils.compareStackNoQuantity(inserted, pattern.getOutputs()[i])) {
|
||||||
satisfied[i] = true;
|
satisfied[i] = true;
|
||||||
|
|
||||||
return true;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user