look for damageable items of the same type if substitutions are disabled
This commit is contained in:
@@ -639,9 +639,10 @@ public final class CraftingCPUCluster implements IAECluster, ICraftingCPU {
|
|||||||
itemList = new ArrayList<>(1);
|
itemList = new ArrayList<>(1);
|
||||||
|
|
||||||
final IAEItemStack item = this.inventory.getItemList().findPrecise(input[x]);
|
final IAEItemStack item = this.inventory.getItemList().findPrecise(input[x]);
|
||||||
|
|
||||||
if (item != null) {
|
if (item != null) {
|
||||||
itemList.add(item);
|
itemList.add(item);
|
||||||
|
} else if (input[x].getDefinition().getItem().isDamageable() || Platform.isGTDamageableItem(input[x].getDefinition().getItem())) {
|
||||||
|
itemList.addAll(this.inventory.getItemList().findFuzzy(input[x], FuzzyMode.IGNORE_ALL));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user