Merge pull request #2474 from bonii-xx/universal_bucket

Fix customized bucket names not getting translated correctly
This commit is contained in:
LexManos 2016-02-17 13:31:12 -06:00
commit 13a25ee0ba

View file

@ -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());