mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Use stack sensitive translation key by default for FluidAttributes. (#8707)
This commit is contained in:
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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user