Skip to content

Commit

Permalink
Use FluidStack sensitive version of getLocalizedName.
Browse files Browse the repository at this point in the history
The other has been deprecated for quite some time.
  • Loading branch information
ganymedes01 committed Jan 13, 2015
1 parent e61bbd9 commit ec5bd08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/smeltery/gui/SmelteryGui.java
Expand Up @@ -364,7 +364,7 @@ public List getLiquidTooltip (FluidStack liquid, boolean par2)
}
else
{
String name = liquid.getFluid().getLocalizedName();
String name = liquid.getFluid().getLocalizedName(liquid);
list.add("\u00A7f" + name);
if (name.equals(StatCollector.translateToLocal("fluid.emerald.liquid")))
{
Expand Down

0 comments on commit ec5bd08

Please sign in to comment.