Skip to content

Commit

Permalink
Merge branch 'vfyjxf:main' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master authored Mar 2, 2022
2 parents ba0b2b1 + 05b4708 commit 7d6598c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private PacketNEIPatternRecipe packRecipe(IRecipeHandler recipe, int recipeIndex
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
Expand Down

0 comments on commit 7d6598c

Please sign in to comment.