mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Merge pull request #1159 from ganymedes01/master
Added FluidStack sensitive version for Fluid's localised name
This commit is contained in:
commit
d889765b10
1 file changed
+9
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user