Merge branch 'vfyjxf:main' into master

This commit is contained in:
Martin Robertz authored and GitHub committed 2022-03-02 19:10:29 +01:00
commit 7d6598c9fb
1 file changed
+1 -1
@@ -64,7 +64,7 @@ public class NEECraftingHandler implements IOverlayHandler {
private PacketNEIPatternRecipe packProcessRecipe(IRecipeHandler recipe, int recipeIndex) {
final NBTTagCompound recipeInputs = new NBTTagCompound();
NBTTagCompound recipeOutputs = new NBTTagCompound();
String identifier = recipe.getOverlayIdentifier();
String identifier = recipe instanceof TemplateRecipeHandler ? ((TemplateRecipeHandler) recipe).getOverlayIdentifier() : "";
int inputIndex = 0;
int outputIndex = 0;
//get all recipe inputs and other stacks,use first item