Solved PlayerFishEvent Rod Name

Discussion in 'Plugin Development' started by Signatured, Apr 25, 2015.

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

    Signatured

    EDIT: I feel dumb, I should have used my brain, though I have been up 24 hours straight :v Get the player than get item in hand.
     
  2. Offline

    Konato_K

    @Signatured This is an interesting question, I wasn't able to find a method to directly get the fishing rod in the event, but considering players need to have the fishing rod in their had to send the hook and pull it, then I guess Player#getItemInHand can do the job
     
  3. Offline

    Signatured

    Yeah, that's what I did ;)
     
Thread Status:
Not open for further replies.

Share This Page