Created
January 9, 2013 00:04
-
-
Save hakusaro/4489265 to your computer and use it in GitHub Desktop.
ItemMeta usage in Bukkit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ItemStack i = new ItemStack(Material.WRITTEN_BOOK); | |
ItemFactory itemFactory = plugin.getServer().getItemFactory(); | |
BookMeta bookMeta = (BookMeta) itemFactory.getItemMeta(Material.WRITTEN_BOOK); | |
i.setItemMeta(bookMeta); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment