View difference between Paste ID: ks4J56wF and 1uRCKmE0
SHOW: | | - or go back to the newest paste.
1
public void addInformation(ItemStack stack,
2
			EntityPlayer player, List list, boolean par4)
3
	{
4
		super.addInformation(stack, player, list, par4);
5-
		
5+
	
6
		if (stack.stackTagCompound != null)
7-
			list.add("Contains: " + stack.stackTagCompound.toString().substring(0, stack.stackTagCompound.toString().length() - 3));
7+
			list.add("Contains: " + stack.stackTagCompound.getString("Entity:").substring(0, stack.stackTagCompound.getString("Entity:").length() - 3));		
8
	}