Should fix issues with recipes not being removed from JEI when using CT, closes #1121 and closes #1118

This commit is contained in:
modmuss50 2017-06-06 12:56:50 +01:00
parent 358b3a48a7
commit 0aafea9758
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA

View file

@ -162,6 +162,7 @@ public class CTGeneric {
if (output.matches(MineTweakerMC.getIItemStack((ItemStack) stack))) {
removedRecipes.add((BaseRecipe) recipeType);
RecipeHandler.recipeList.remove(recipeType);
MineTweakerAPI.getIjeiRecipeRegistry().removeRecipe(recipeType);
break;
}
}