Fixed missing crate names

#165
This commit is contained in:
mezz committed 2014-09-04 00:55:11 -07:00
1 parent 5df35847b0
commit fdb0471fc4
1 file changed
+7 -7
@@ -81,13 +81,13 @@ public class ItemCrated extends Item implements IGenericCrate {
return itemstack;
}
// @Override
// public String getItemStackDisplayName(ItemStack itemstack) {
// if (contained != null)
// return StringUtil.localize("item.crated.adj") + " " + Proxies.common.getDisplayName(contained);
// else
// return StringUtil.localize("item.crated.unknown");
// }
@Override
public String getItemStackDisplayName(ItemStack itemstack) {
if (contained != null)
return StringUtil.localize("item.crated.adj") + " " + Proxies.common.getDisplayName(contained);
else
return StringUtil.localize("item.crated.unknown");
}
@SideOnly(Side.CLIENT)
@Override