Fishrod's

Discussion in 'Plugin Development' started by camman00, Nov 5, 2015.

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

    camman00

    How do I keep a fishhook from retracting when the rod hits a block.
    Thanks.
     
  2. Offline

    SuperSniper

    @camman00 What have you tried?

    EDIT: The title has improper grammar, I know this is off-topic but still :p It kinda bugs me.
     
  3. Offline

    camman00

    @SuperSniper sorry I don't know where to start.

    Sorry, I terrible at English.

    Just a bit of advice would help. Where to start on this?

    Could I somehow set the fishhook to set on tops of blocks
     
    Last edited: Nov 5, 2015
  4. Offline

    teej107

    @camman00 The only thing in the Bukkit JavaDocs I found was the PlayerFishEvent. Try and check the State to see if it's IN_GROUND (or FAILED_ATTEMPT?) and then cancel it if it is. Worst case scenario is that nothing changes :p
     
  5. Offline

    camman00

    Will not work, When the hook hits the ground it retracts in.

    Mhm. Weird.. Essentials does this...... ?
     
  6. Offline

    boomboompower

    @camman00
    Maybe set your event to the highest priority
     
  7. Offline

    camman00

    Ok when I get back to my computer I'll add that.
     
Thread Status:
Not open for further replies.

Share This Page