Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remove a enchanted item

Comments in 'Plugin Development' started by BalAnce, Dec 8, 2015.

  1. BalAnce
    Offline

    BalAnce Active Member

    Joined:
    Mar 10, 2015
    Posts:
    125
    Minecraft User:
    BalAnce
    How would i remove a item from a persons inventory that has a enchantment. I know how to remove a item but i can not figure out to remove a item that has a enchantment.
  2. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    The same way, basically. If you want to remove a specific Item, just check if it has the enchantment before removing it

Share This Page

Advertisement