Custom durability/data .... is not working now...

Discussion in 'Plugin Development' started by fromgate, Mar 18, 2013.

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

    fromgate

    Hello,
    Here is code, that works fine at 1.4.7:
    ItemStack item = new ItemStack (id,amount, custom_data);

    Using this code or simply changing durability using item.setDurability (custom_durability) method I creating custom items with custom features provided by my plugin for this items only (for example: photo camera and photo paper at my CameraObscura plugin).

    Now (at 1.5 dev.builds) I cannot change the items' durability, it always equals to default (0) value?

    Any one know why now is not possible to use custom item's data/durability?

    Is there a way to set custom durability using bukkit API only (not craftbukkit,)
     
  2. Offline

    fromgate

Thread Status:
Not open for further replies.

Share This Page