Skip to content

Commit

Permalink
Fix irrelevant Botania flowers show up in NEI
Browse files Browse the repository at this point in the history
  • Loading branch information
miozune committed Feb 19, 2022
1 parent 3eba0fb commit 67635e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies {
compileOnly("com.github.GTNewHorizons:Mantle:0.3.4:dev") {
transitive = false
}
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.2.6-GTNH:dev") {
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.2.7-GTNH:dev") {
transitive = false
}
compileOnly("com.github.GTNewHorizons:TinkersConstruct:1.9.0.13-GTNH:dev") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ else if (irecipe instanceof ExtremeShapedOreRecipe)
@Override
public void loadCraftingRecipes(ItemStack result) {
for (IRecipe irecipe : (List<IRecipe>) ExtremeCraftingManager.getInstance().getRecipeList()) {
if (NEIServerUtils.areStacksSameTypeCrafting(irecipe.getRecipeOutput(), result)) {
if (NEIServerUtils.areStacksSameTypeCraftingWithNBT(irecipe.getRecipeOutput(), result)) {
CachedExtremeRecipe recipe = null;
if (irecipe instanceof ExtremeShapedRecipe)
recipe = new CachedExtremeRecipe((ExtremeShapedRecipe) irecipe);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ else if (irecipe instanceof ShapelessOreRecipe)
public void loadCraftingRecipes(ItemStack result) {
List<IRecipe> allrecipes = ExtremeCraftingManager.getInstance().getRecipeList();
for (IRecipe irecipe : allrecipes) {
if (NEIServerUtils.areStacksSameTypeCrafting(irecipe.getRecipeOutput(), result)) {
if (NEIServerUtils.areStacksSameTypeCraftingWithNBT(irecipe.getRecipeOutput(), result)) {
CachedExtremeShapelessRecipe recipe = null;
if (irecipe instanceof ExtremeShapelessRecipe)
recipe = shapelessRecipe((ExtremeShapelessRecipe) irecipe);
Expand Down

0 comments on commit 67635e7

Please sign in to comment.