We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bdd206 commit 17a7649Copy full SHA for 17a7649
1 file changed
src/main/java/com/tagnumelite/projecteintegration/plugins/PluginExtendedCrafting.java
@@ -35,6 +35,13 @@ public ECCompressorMapper() {
35
@Override
36
public void setup() {
37
for (CompressorRecipe recipe : CompressorRecipeManager.getInstance().getRecipes()) {
38
+ IngredientMap<Object> ingredients = new IngredientMap<>();
39
+
40
+ ingredients.addIngredient(recipe.getInput(), recipe.getInputCount());
41
42
+ if (recipe.consumeCatalyst()) {
43
+ ingredients.addIngredient(recipe.getCatalyst(), recipe.getCatalyst().getCount());
44
+ }
45
46
addConversion(recipe.getOutput(), ingredients.getMap());
47
}
0 commit comments