mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Fix material abilities not getting localized for display
This commit is contained in:
1 parent
608de3ab70
commit
fc0420d418
3 files changed
+10
-3
No files matched your search
@@ -1,5 +1,7 @@
|
||||
package tconstruct.library.tools;
|
||||
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
/*
|
||||
* Dynamic substitute for an enum. It carries a lot of information
|
||||
*/
|
||||
@@ -89,4 +91,6 @@ public class ToolMaterial
|
||||
{
|
||||
return this.ability;
|
||||
}
|
||||
|
||||
public String localizedAbility () { return StatCollector.translateToLocal(this.ability); }
|
||||
}
|
||||
Reference in new issue
Block a user