mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-27 23:45:48 +00:00
Merge branch 'master' into weaponry
Conflicts: src/main/java/tconstruct/tools/TinkerTools.java
This commit is contained in:
commit
f1ec9f24da
15 files changed
+190
-102
No files matched your search
@@ -25,7 +25,9 @@ public class ToolPart extends CraftingItem implements IToolPart
|
||||
@Override
|
||||
public String getItemStackDisplayName (ItemStack par1ItemStack)
|
||||
{
|
||||
String material = toolTextureNames[par1ItemStack.getItemDamage()];
|
||||
String material = "";
|
||||
if(par1ItemStack.getItemDamage() < toolTextureNames.length)
|
||||
material = toolTextureNames[par1ItemStack.getItemDamage()];
|
||||
String name = "";
|
||||
|
||||
if (StatCollector.canTranslate("toolpart." + partName + "." + material))
|
||||
|
||||
Reference in new issue
Block a user