Skip to content

Commit

Permalink
fix official nei support,close #25
Browse files Browse the repository at this point in the history
  • Loading branch information
vfyjxf committed Feb 25, 2022
1 parent 03331fe commit 05b4708
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 05b4708

Please sign in to comment.