Skip to content

Commit

Permalink
Use the Item provided to addSmelteryMelting
Browse files Browse the repository at this point in the history
addSmelteryMelting didn't actually use the item, now it does
  • Loading branch information
mraof committed Aug 3, 2015
1 parent 73e63af commit a90bbfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/util/IMCHandler.java
Expand Up @@ -288,7 +288,7 @@ else if(type.equals("addSmelteryMelting")) {
if(FluidType.getFluidType(liquid.getFluid()) == null)
FluidType.registerFluidType(liquid.getFluid().getName(), Block.getBlockFromItem(block.getItem()), block.getItemDamage(), temperature, liquid.getFluid(), false);

Smeltery.addMelting(Block.getBlockFromItem(block.getItem()), block.getItemDamage(), temperature, liquid);
Smeltery.addMelting(item, Block.getBlockFromItem(block.getItem()), block.getItemDamage(), temperature, liquid);
TConstruct.logger.debug("Smeltery IMC: Added melting: " + item.getDisplayName() + " to " + liquid.amount + "mb " + liquid.getLocalizedName());
}
else if(type.equals("addSmelteryFuel")) {
Expand Down

0 comments on commit a90bbfe

Please sign in to comment.