Skip to content

Instantly share code, notes, and snippets.

@nightpool
Created December 14, 2013 23:44
Show Gist options
  • Save nightpool/7966586 to your computer and use it in GitHub Desktop.
Save nightpool/7966586 to your computer and use it in GitHub Desktop.
ItemStack skull = new ItemStack(Material.SKULL_ITEM, 1, (short)3);
SkullMeta sm = ((SkullMeta) skull.getItemMeta()).clone();
sm.setOwner(player.getName());
skull.setItemMeta(sm);
Copy link

ghost commented Dec 14, 2013

kewl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment