mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 11:19:28 +00: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
|
||||
|
||||
Reference in new issue
Block a user