fixed iron dust in the steam bloomery

This commit is contained in:
Pyritie 2025-04-23 00:33:35 +01:00
parent 5db88cda00
commit 0ac8108f50

View file

@ -990,7 +990,8 @@ const registerGTCEURecipes = (event) => {
if (tfcProperty == null)
return;
if (tfcProperty.getOutputMaterial() == GTMaterials.Iron) {
const outputMaterial = tfcProperty.getOutputMaterial() == null ? material : tfcProperty.getOutputMaterial()
if (outputMaterial == GTMaterials.Iron) {
event.recipes.gtceu.steam_bloomery(`steam_raw_iron_bloom_coal_${material.getName()}`)
.itemInputs(ChemicalHelper.get(TagPrefix.dust, material, 1), '#tfc:steam_bloomery_basic_fuels')
.itemOutputs('tfc:raw_iron_bloom')