From 65cf915a15d69a6900abf563827ccb2ce77ea3a0 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Sun, 15 Jan 2012 07:38:14 +0000 Subject: Fixed documentation of getNearbyEntities in Entity. Thanks to epuidokas for the PR. --- src/main/java/org/bukkit/entity/Entity.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java index 5ecebb46..7d7c5f5c 100644 --- a/src/main/java/org/bukkit/entity/Entity.java +++ b/src/main/java/org/bukkit/entity/Entity.java @@ -79,11 +79,11 @@ public interface Entity { 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 y Size of the box along y axis - * @param z Size of the box along z axis + * @param x 1/2 the size of the box along x axis + * @param y 1/2 the size of the box along y axis + * @param z 1/2 the size of the box along z axis * @return List List of entities nearby */ public List getNearbyEntities(double x, double y, double z); -- cgit v1.2.3