This commit is contained in:
Vexatos committed 2014-08-18 20:26:43 +02:00
1 parent 8f04a0886a
commit 3d0227ecff
1 file changed
+1 -1
@@ -233,7 +233,7 @@ public class ItemResearchNote extends ItemForestry {
@Override
public String getItemStackDisplayName(ItemStack itemstack) {
ResearchNote note = new ResearchNote(itemstack.getTagCompound());
return StringUtil.localizeAndFormat(getUnlocalizedName(itemstack) + ".name", note.researcher);
return StringUtil.localizeAndFormat(getUnlocalizedName(itemstack) + ".name", note.researcher.getName());
}
@SuppressWarnings("rawtypes")