GregTech 4

GregTech 4

5.7k Downloads

Recipes not getting removed

CrossVas opened this issue ยท 0 comments

commented

This code isn't working as intended.

GT_ModHandler.removeRecipe(GT_ModHandler.getIC2Item("canner", 1));
GT_ModHandler.removeRecipe(GT_ModHandler.getIC2Item("macerator", 1));
GT_ModHandler.removeRecipe(GT_ModHandler.getIC2Item("extractor", 1));
GT_ModHandler.removeRecipe(GT_ModHandler.getIC2Item("compressor", 1));
GT_ModHandler.removeRecipe(GT_ModHandler.getIC2Item("recycler", 1));
GT_ModHandler.removeRecipe(GT_ModHandler.getIC2Item("electroFurnace", 1));

It should be using this one:

public static boolean removeRecipeByOutput(ItemStack aOutput) {