Skip to content

Commit

Permalink
Fix: conflicting recipe IDs in smelting recipe inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
rlnt authored Sep 27, 2024
1 parent c42b0c9 commit 33d66c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private static void collectRecipe(ResourceLocation recipeId, ImmutableMultimap.B
int energy = MachinesConfig.COMMON.ENERGY.ALLOY_SMELTER_VANILLA_ITEM_ENERGY.get();
AlloySmeltingRecipe recipe = new AlloySmeltingRecipe(List.of(input), accessor.getResult(), energy, accessor.getExperience(), true);

String path = "smelting/" + originalId.getPath();
String path = "smelting/" + originalId.getNamespace() + "/" + originalId.getPath();
ResourceLocation id = EnderIOBase.loc(path);
return new RecipeHolder<>(id, recipe);
}
Expand Down

0 comments on commit 33d66c6

Please sign in to comment.