Dismounting an Entity

Discussion in 'Spigot Plugin Development' started by knoapp, Apr 18, 2017.

  1. Hey! So quite simply, I need a line of code that will dismount a Player (p) from an Entity (e).

    This does not work: p.getVehicle().setPassenger(null);
     
  2. Choco

    Moderator

    • Agree Agree x 2
  3. Oh nice! Thanks!