Solved Bow disappears

Discussion in 'Plugin Development' started by Wout_, Mar 5, 2014.

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

    Wout_

    Hello,

    I'm working on a plugin of mine. But there is a rare bug, i did it so you can't drop or move items in your inventory using the inventoryclick and playeritemdropevent. The items in your armor slots you can't move or drop, but i've setted you get 1 item in your first slot, a bow. If i right click this bow or try to drop it it disappears.

    I don't know why this bow dissapears if i right click it, or i try to drop it. If i try to drop it, my item will not spawn on the ground. Its this a common bug, or do you guys need some code of my plugin?

    Wout
     
  2. Offline

    strubelcopter

    I think we need code
     
  3. Offline

    Wout_

    Solved:
    I did not give the amount of the item, because the amount was not given in my configuration file. So i added the amount in my config file, and it works!
     
Thread Status:
Not open for further replies.

Share This Page