diff --git a/src/main/java/com/github/vfyjxf/nee/processor/GregTech5RecipeProcessor.java b/src/main/java/com/github/vfyjxf/nee/processor/GregTech5RecipeProcessor.java index 8a066ca..42c70bc 100644 --- a/src/main/java/com/github/vfyjxf/nee/processor/GregTech5RecipeProcessor.java +++ b/src/main/java/com/github/vfyjxf/nee/processor/GregTech5RecipeProcessor.java @@ -20,7 +20,6 @@ import codechicken.nei.PositionedStack; import codechicken.nei.recipe.IRecipeHandler; import gregtech.api.enums.ItemList; import gregtech.api.recipe.RecipeCategory; -import gregtech.nei.GTNEIDefaultHandler.FixedPositionedStack; /** * @author vfyjxf @@ -121,11 +120,6 @@ public class GregTech5RecipeProcessor implements IRecipeProcessor { List recipeOutputs = new ArrayList<>(); if (canProcessRecipe(recipe)) { recipeOutputs.addAll(recipe.getOtherStacks(recipeIndex)); - // remove output if it's chance != 10000 - recipeOutputs.removeIf( - stack -> stack instanceof FixedPositionedStack - && !(((FixedPositionedStack) stack).getChance() == PositionedStack.CHANCE_FULL - || ((FixedPositionedStack) stack).getChance() <= 0)); return recipeOutputs; } return recipeOutputs;