Various changes to the vehicle hooks.

This commit is contained in:
sk89q
2011-01-07 11:16:04 -08:00
parent a14441dd5a
commit 3d94820557
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.