Converting a book from a written book to a book and quill

Discussion in 'Plugin Development' started by SoThatsIt, Jun 8, 2013.

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

    SoThatsIt

    how could i go about doing this? all help is appreciated! :D

    nvm, i figured it out myself here is how i did it
    Code:
    BookMeta meta = (BookMeta) p.getItemInHand().getItemMeta();
                    p.getItemInHand().setType(Material.BOOK_AND_QUILL);
                    p.getItemInHand().setItemMeta(meta);
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
Thread Status:
Not open for further replies.

Share This Page