Various changes to the vehicle hooks.

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-01-07 11:16:04 -08:00
parent 7f70bc53b8
commit f0cb8573a9
4 changed files with 73 additions and 11 deletions

View File

@@ -24,9 +24,9 @@ public interface Vehicle extends Entity {
* Gets the primary passenger of a vehicle. For vehicles that could have
* multiple passengers, this will only return the primary passenger.
*
* @return a living entity
* @return an entity
*/
public LivingEntity getPassenger();
public Entity getPassenger();
/**
* Returns true if the vehicle has no passengers.