Unable to set entity again as a passenger for 3 seconds after calling eject() method.
Reproducing:
[code]Sheep sheep = (Sheep) player.getPassenger();
sheep.eject();
Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable() {
public void run()
}, 20L);[/code]
What I did to get around it temporary:
[code]Sheep sheep = (Sheep) player.getPassenger();
sheep.eject();
Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable() {
public void run()
}, 20L);[/code]