Skip to content

Commit

Permalink
Fix metadata for block->render mapping in smeltery.
Browse files Browse the repository at this point in the history
  • Loading branch information
portablejim committed Jul 7, 2014
1 parent 41ff78b commit 4576e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/library/crafting/Smeltery.java
Expand Up @@ -204,7 +204,7 @@ public static void addMelting (FluidType type, ItemStack input, int temperatureD
temp = type.baseTemperature;

if (input.getItem() instanceof ItemBlock)
addMelting(input, ((ItemBlock) input.getItem()).field_150939_a, type.renderMeta, type.baseTemperature + temperatureDifference, new FluidStack(type.fluid, fluidAmount));
addMelting(input, ((ItemBlock) input.getItem()).field_150939_a, input.getItemDamage(), type.baseTemperature + temperatureDifference, new FluidStack(type.fluid, fluidAmount));
else
addMelting(input, type.renderBlock, type.renderMeta, type.baseTemperature + temperatureDifference, new FluidStack(type.fluid, fluidAmount));
}
Expand Down

0 comments on commit 4576e96

Please sign in to comment.