Solved Trouble with PlayerItemDamageEvent

Discussion in 'Plugin Development' started by Bob Greg, Nov 19, 2020.

  1. Offline

    Bob Greg

    Log: https://pastebin.com/7YMtQfWA

    Code: https://pastebin.com/S7uLu5RG

    OS: Windows 10 build 2004
    Java: 1.8.0_251
    Trying to make something that gives a player the poison 2 effect for 3 seconds every time they hit something with the sharpness 10 wood sword. I think this could be detected when the wood sword takes durability damage.

    never mind, i fixed it

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 19, 2020
  2. Offline

    MrDaniel

    Could you mark the thread as solved?
     
  3. Offline

    timtower Moderator Moderator

    Handled.
     

Share This Page