File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/aztech/modern_industrialization/machines/recipe Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,9 @@ public static RecipeHolder<MachineRecipe> ofSmelting(RecipeHolder<SmeltingRecipe
5454 recipe .duration = smeltingRecipe .getCookingTime ();
5555 recipe .itemInputs = Collections .singletonList (new MachineRecipe .ItemInput (ingredient , 1 , 1 ));
5656 recipe .fluidInputs = Collections .emptyList ();
57+ var result = smeltingRecipe .getResultItem (registryAccess );
5758 recipe .itemOutputs = Collections
58- .singletonList (new MachineRecipe .ItemOutput (ItemVariant .of (smeltingRecipe . getResultItem ( registryAccess )), 1 , 1 ));
59+ .singletonList (new MachineRecipe .ItemOutput (ItemVariant .of (result ), result . getCount () , 1 ));
5960 recipe .fluidOutputs = Collections .emptyList ();
6061 return new RecipeHolder <>(id , recipe );
6162 }
You can’t perform that action at this time.
0 commit comments