mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 10:55:17 +00:00
Exclude lexicon recipe from hiding input return recipes
It doesn't show up on MP servers otherwise.
This commit is contained in:
1 parent
d5001c79c8
commit
5d3ff952ea
1 file changed
+1
-1
@@ -186,7 +186,7 @@ public class JEIBotaniaPlugin implements IModPlugin {
|
||||
for(RecipeElvenTrade recipe : BotaniaAPI.elvenTradeRecipes.values()) {
|
||||
List<Ingredient> inputs = recipe.getInputs();
|
||||
List<ItemStack> outputs = recipe.getOutputs();
|
||||
if(inputs.size() == 1 && outputs.size() == 1 && recipe.containsItem(outputs.get(0))) {
|
||||
if(inputs.size() == 1 && outputs.size() == 1 && recipe.containsItem(outputs.get(0)) && outputs.get(0).getItem() != ModItems.lexicon) {
|
||||
recipeRegistry.hideRecipe(recipe, ElvenTradeRecipeCategory.UID);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user