Merge pull request #2474 from bonii-xx/universal_bucket
Fix customized bucket names not getting translated correctly
This commit is contained in:
commit
13a25ee0ba
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ public class UniversalBucket extends Item implements IFluidContainerItem
|
||||||
|
|
||||||
if (StatCollector.canTranslate(unloc + "." + fluidStack.getFluid().getName()))
|
if (StatCollector.canTranslate(unloc + "." + fluidStack.getFluid().getName()))
|
||||||
{
|
{
|
||||||
return StatCollector.translateToFallback(unloc + "." + fluidStack.getFluid().getName());
|
return StatCollector.translateToLocal(unloc + "." + fluidStack.getFluid().getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
return StatCollector.translateToLocalFormatted(unloc + ".name", fluidStack.getLocalizedName());
|
return StatCollector.translateToLocalFormatted(unloc + ".name", fluidStack.getLocalizedName());
|
||||||
|
|
Loading…
Reference in a new issue