Skip to content

Commit f8820c3

Browse files
committed
fix display
1 parent 9179213 commit f8820c3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/teammoeg/immersiveindustry/content/chemical_reactor/ChemicalRecipeSerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public ChemicalRecipe readFromJson(ResourceLocation recipeId, JsonObject json,IC
9595
tickEnergy = json.get("tickEnergy").getAsInt();
9696
if(inputs.length==0&&input_fluids.length==0)
9797
throw new JsonSyntaxException("Error loading chemical recipe "+recipeId+" because no input found");
98-
if(outputs.length==0)
98+
if(outputs.length==0&&output_fluids.length==0)
9999
throw new JsonSyntaxException("Error loading chemical recipe "+recipeId+" because no output found");
100100
return new ChemicalRecipe(recipeId, outputs, output_fluids, inputs, input_fluids,time,tickEnergy);
101101
}

src/main/java/com/teammoeg/immersiveindustry/util/JEISlotBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public JEISlotBuilder<T> asInput(){
2020
return new JEISlotBuilder<T>(RecipeIngredientRole.INPUT,layout,type,ingredients);
2121
}
2222
public JEISlotBuilder<T> asOutput(){
23-
return new JEISlotBuilder<T>(RecipeIngredientRole.INPUT,layout,type,ingredients);
23+
return new JEISlotBuilder<T>(RecipeIngredientRole.OUTPUT,layout,type,ingredients);
2424
}
2525
}
2626
RecipeIngredientRole role;

0 commit comments

Comments
 (0)