Seems the player is not being ejected.
This commit is contained in:
parent
b4a740979d
commit
fc0bde6255
@ -135,8 +135,9 @@ public class PrisonerManager {
|
|||||||
|
|
||||||
//only eject them if they're inside a vehicle and also eject anyone else on top of them
|
//only eject them if they're inside a vehicle and also eject anyone else on top of them
|
||||||
if(player.isInsideVehicle()) {
|
if(player.isInsideVehicle()) {
|
||||||
player.eject();
|
|
||||||
player.getVehicle().eject();
|
player.getVehicle().eject();
|
||||||
|
player.getPassenger().eject();
|
||||||
|
player.eject();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user