Skip to content

Commit

Permalink
Leave Vehicle
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAbsolutionism committed Jan 30, 2025
1 parent 96f7219 commit e540438
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/ch/njol/skript/effects/EffVehicle.java
Original file line number Diff line number Diff line change
@@ -75,6 +75,7 @@ protected void execute(Event event) {
Entity vehicleEntity = vehicleData.spawn(passenger.getLocation());
if (vehicleEntity == null)
return;
passenger.leaveVehicle();
vehicleEntity.addPassenger(passenger);
}
}

0 comments on commit e540438

Please sign in to comment.