Plugin dont remove renamed items

Discussion in 'Plugin Development' started by ArthurHoeke, Jun 22, 2014.

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

    ArthurHoeke

    Hello,
    Im making a plugin that if you right click a iron bar a feather in your inventory will be removed and you will get a stick. It works but the problem is that if i want to do this with a renamed item i get the stick but the feather will not be removed. How to fix this?
     
  2. Offline

    ReggieMOL

    ArthurHoeke

    Maybe check if the player has a renamed feather before removing, if so un-name it, if it doesn't execute the feather removal.
     
  3. Offline

    ArthurHoeke

    ReggieMOL How to check this?

    Bumb

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  4. Offline

    ReggieMOL

Thread Status:
Not open for further replies.

Share This Page