Discussion in 'Plugin Development' started by camman00, Nov 5, 2015.
How do I keep a fishhook from retracting when the rod hits a block.
@camman00 What have you tried?
EDIT: The title has improper grammar, I know this is off-topic but still It kinda bugs me.
@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
@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
Will not work, When the hook hits the ground it retracts in.
Mhm. Weird.. Essentials does this...... ?
Maybe set your event to the highest priority
Ok when I get back to my computer I'll add that.
Separate names with a comma.