forked from Upstream/mmocore
Fixed multiple fishing lines
This commit is contained in:
parent
40ae82cae9
commit
4dac0b1996
@ -135,7 +135,7 @@ public class FishingListener implements Listener {
|
||||
location.getWorld().spawnParticle(Particle.CRIT, location, 0, 2 * (RANDOM.nextDouble() - .5), 3, 2 * (RANDOM.nextDouble() - .5), .6);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
public void a(PlayerFishEvent event) {
|
||||
if (event.getPlayer().equals(player) && (event.getState() == State.CAUGHT_FISH || event.getState() == State.FAILED_ATTEMPT || event.getState() == State.REEL_IN)) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user