Use stack sensitive translation key by default for FluidAttributes. (#8707)

This commit is contained in:
Magnus Jensen authored and GitHub committed 2022-06-14 10:18:27 -07:00
1 parent 50ae5db357
commit 59b8ec5625
1 file changed
+1 -1
@@ -212,7 +212,7 @@ public class FluidAttributes
*/
public Component getDisplayName(FluidStack stack)
{
return Component.translatable(getTranslationKey());
return Component.translatable(getTranslationKey(stack));
}
/**