Merge pull request #1159 from ganymedes01/master
Added FluidStack sensitive version for Fluid's localised name
This commit is contained in:
commit
d889765b10
|
@ -190,6 +190,15 @@ public class Fluid
|
|||
/**
|
||||
* Returns the localized name of this fluid.
|
||||
*/
|
||||
public String getLocalizedName(FluidStack stack)
|
||||
{
|
||||
return getLocalizedName();
|
||||
}
|
||||
|
||||
/**
|
||||
* Use the FluidStack sensitive version above
|
||||
*/
|
||||
@Deprecated
|
||||
public String getLocalizedName()
|
||||
{
|
||||
String s = this.getUnlocalizedName();
|
||||
|
|
Loading…
Reference in New Issue