CustomEnchant help

Discussion in 'Plugin Development' started by Niko_Ox, Jan 5, 2018.

Thread Status:
Not open for further replies.
  1. Hi, my plugin doesn't works correctly, when I equip the leather boots the plugin works, so add me the speed but when i remove the leather boots he doesn't works.
    Code: https://pastebin.com/U8Yr46bK
    Obviously I registered the listener in the Main class
     
  2. Offline

    Max8801

    What exactly does not work? Are there any errors?
     
  3. When I remove the leather boots the plugin doesn't remove the speed and doesn't send me the message.
    There aren't errors.
     
    Last edited: Jan 6, 2018
  4. Offline

    Max8801

    You don't need "else if". Simply use "else" and it should work.
     
Thread Status:
Not open for further replies.

Share This Page