We now have dynamic toolparts with default textures, just like the tools themselves!

This commit is contained in:
Bernhard Bonigl committed 2014-09-22 14:29:21 +02:00
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))
{