Fix the bug that Forestry recipes cannot be processed correctly. (#13)

Co-authored-by: vfyjxf <[email protected]>
Co-authored-by: vfyjxf <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-06-07 06:41:56 +02:00
1 parent 83fbd443da
commit bc56551056
6 files changed
+16 -7

No files matched your search

@@ -4,15 +4,17 @@ import codechicken.nei.PositionedStack;
import codechicken.nei.recipe.IRecipeHandler;
import javax.annotation.Nonnull;
import java.util.*;
public class ForestryRecipeProcessor implements IRecipeProcessor {
@Nonnull
@Override
public Set<String> getAllOverlayIdentifier() {
return new HashSet<>(Arrays.asList(
"forestry.bottler", "forestry.carpenter", "forestry.centrifuge", "forestry.fabricator", "forestry.fermenter", "forestry.moistener", "forestry.squeezer", "forestry.still"
"forestry.bottler", "forestry.carpenter", "forestry.centrifuge", "forestry.fabricator", "forestry.fermenter", "forestry.moistener", "forestry.squeezer", "forestry.still",RecipeProcessor.NULL_IDENTIFIER
));
}
@@ -7,6 +7,8 @@ import java.util.ArrayList;
import java.util.List;
public class RecipeProcessor {
public static final String NULL_IDENTIFIER = "null";
public static List<IRecipeProcessor> recipeProcessors = new ArrayList<>();
public static void init() {