Fixed documentation of getNearbyEntities in Entity. Thanks to epuidokas for the PR.

This commit is contained in:
Nathan Adams 2012-01-15 07:38:14 +00:00
parent 87ee353d4d
commit 65cf915a15

View File

@ -79,11 +79,11 @@ public interface Entity {
public boolean teleport(Entity destination, TeleportCause cause); public boolean teleport(Entity destination, TeleportCause cause);
/** /**
* Returns a list of entities within a bounding box defined by x,y,z centered around player * Returns a list of entities within a bounding box centered around this entity
* *
* @param x Size of the box along x axis * @param x 1/2 the size of the box along x axis
* @param y Size of the box along y axis * @param y 1/2 the size of the box along y axis
* @param z Size of the box along z axis * @param z 1/2 the size of the box along z axis
* @return List<Entity> List of entities nearby * @return List<Entity> List of entities nearby
*/ */
public List<org.bukkit.entity.Entity> getNearbyEntities(double x, double y, double z); public List<org.bukkit.entity.Entity> getNearbyEntities(double x, double y, double z);