import java.util.Arrays;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.inventory.meta.SkullMeta;

/**
 * Class for teaching how to format Item Stacks.
 * Also can be used as a helper class when formatting Item Stacks.
 */
public class ItemFormatter {
	
	private ItemStack item;
	
	public ItemFormatter(ItemStack item) {
		this.item = item;
	}
	
	//Set an ItemStack's display name
	public ItemStack setName(String name) {
		ItemMeta meta = item.getItemMeta();
		
		meta.setDisplayName(name);
		item.setItemMeta(meta);
		return item;
	}
	
	//Set an ItemStack's lore with multiple lines separated by commas. Ex. "Line 1,Line 2,Line 3"
	public ItemStack setLore(String lore) {
		ItemMeta meta = item.getItemMeta();
		
		String[] lines = lore.split(",");
		meta.setLore(Arrays.asList(lines));
		item.setItemMeta(meta);
		return item;
	}
	
	//Set ItemStack's owner if ItemStack is a Skull
	public ItemStack setSkullOwner(String owner) {
		if(item.getType() != Material.SKULL) //checks that item is a skull before changing owner
			return item;
		
		SkullMeta skullMeta = (SkullMeta)item.getItemMeta();
		skullMeta.setOwner(owner);
		item.setItemMeta(skullMeta);
		return item;
	}
	
	public ItemStack getItem() {
		return item;
	}

}

@@ -184,118 +184,101 @@
 %0A * 
-Class for teaching how to f
+F
 ormat
+s
  Item
- 
 Stacks
-.%0A * Also can be used as a helper class when formatting Item Stack
+ with custom names and lores.%0A * Formats Skulls with custom names and owner
 s.%0A 
@@ -1183,16 +1183,61 @@
 owner);%0A
+%09%09skullMeta.setDisplayName(owner+%22's Head%22);%0A
 %09%09item.s

Update ItemFormatter.java