oreInputs are for both processing and crafting, derp
This commit is contained in:
@@ -93,16 +93,6 @@ public class CraftingPattern implements ICraftingPattern {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (oreInputs.isEmpty()) {
|
|
||||||
for (ItemStack input : inputs) {
|
|
||||||
if (input == null) {
|
|
||||||
oreInputs.add(Collections.emptyList());
|
|
||||||
} else {
|
|
||||||
oreInputs.add(Collections.singletonList(input));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
for (ItemStack remaining : recipe.getRemainingItems(inv)) {
|
for (ItemStack remaining : recipe.getRemainingItems(inv)) {
|
||||||
if (remaining != null) {
|
if (remaining != null) {
|
||||||
ItemStack cleaned = output.copy();
|
ItemStack cleaned = output.copy();
|
||||||
@@ -117,6 +107,16 @@ public class CraftingPattern implements ICraftingPattern {
|
|||||||
} else {
|
} else {
|
||||||
outputs = ItemPattern.getOutputs(stack);
|
outputs = ItemPattern.getOutputs(stack);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (oreInputs.isEmpty()) {
|
||||||
|
for (ItemStack input : inputs) {
|
||||||
|
if (input == null) {
|
||||||
|
oreInputs.add(Collections.emptyList());
|
||||||
|
} else {
|
||||||
|
oreInputs.add(Collections.singletonList(input));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user