Fix ASM and name problems.

This commit is contained in:
Alexander committed 2014-02-06 20:17:52 -05:00
1 parent 4b2fda2dfc
commit 8898ddeb89
4 files changed
+4 -25

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ public class ToolPart extends CraftingItem implements IToolPart
}
@Override
public String getPotionEffect (ItemStack par1ItemStack)
public String getItemStackDisplayName (ItemStack par1ItemStack)
{
String material = StatCollector.translateToLocal("parttype." + toolTextureNames[par1ItemStack.getItemDamage()]);
String name = StatCollector.translateToLocal("toolpart." + partName);