mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
We now have dynamic toolparts with default textures, just like the tools themselves!
This commit is contained in:
1 parent
ec525923d4
commit
74c92e5939
13 files changed
+213
-76
No files matched your search
@@ -432,7 +432,7 @@ public class ToolBuilder
|
||||
public static String defaultToolName (ToolMaterial headMat, ToolCore tool)
|
||||
{
|
||||
String toolName = tool.getToolName().toLowerCase();
|
||||
String matName = headMat.materialName.toLowerCase().replaceAll(" ", "");
|
||||
String matName = headMat.materialName.toLowerCase().replaceAll(" ", "").replaceAll("_","");
|
||||
|
||||
if (StatCollector.canTranslate("tool." + toolName + "." + matName))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user