Skip to content

Commit b2a3d3d

Browse files
authored
Fix non-consumable items in assembler recycling (GregTechCEu#2032)
1 parent e6654e6 commit b2a3d3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/gregtech/api/recipes/RecyclingHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public class RecyclingHandler {
8282
public static @Nullable ItemMaterialInfo getRecyclingIngredients(List<GTRecipeInput> inputs, int outputCount) {
8383
Object2LongMap<Material> materialStacksExploded = new Object2LongOpenHashMap<>();
8484
for (GTRecipeInput input : inputs) {
85-
if (input == null) continue;
85+
if (input == null || input.isNonConsumable()) continue;
8686
ItemStack[] inputStacks = input.getInputStacks();
8787
if (inputStacks == null || inputStacks.length == 0) continue;
8888
ItemStack inputStack = inputStacks[0];

0 commit comments

Comments
 (0)