Solved Where did getItemMeta go...?

Discussion in 'Plugin Help/Development/Requests' started by UniqueNameDen, Feb 13, 2015.

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

    UniqueNameDen

    Hey, so were did getItemMeta go...? did it get removed...?

    ItemStack E4 = new ItemStack(Material.COAL_BLOCK);
    ItemMeta E4meta = E4.getItemMeta(); //getItemMeta() doesn't exist.
     
  2. Offline

    Lionhard

  3. Offline

    1Rogue Retired Staff

    Post your full code, as well as the bukkit version you are using. API contracting discourages immediate method removal, it's still there.
     
  4. Offline

    UniqueNameDen

    Using Bukkit 1.8 from BuildTools.jar...?

    Full version:
    This server is running CraftBukkit version git-Bukkit-e81edfc (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Feb 13, 2015
  5. Offline

    timtower Moderator Moderator

    Moved to Bukkit alternatives
     
  6. Offline

    UniqueNameDen

    Updated to the latest version of buildtools.jar today and getitemMeta is now there! I guess they forgot to import that...? anyway
    //Solved
     
Thread Status:
Not open for further replies.

Share This Page