how to get SkullMeta from inventory

Discussion in 'Plugin Development' started by Asgernohns, Mar 16, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Asgernohns

    Hey all.

    I can't find a way to get the SkullMeta from player.getInventory().getItemInHand().
    can anybody find a way to do this?
     
  2. Offline

    Gater12

    Asgernohns
    You have to check if's it a Skull first. Then cast SkullMeta to it's ItemMeta
     
Thread Status:
Not open for further replies.

Share This Page