summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNathan Adams <dinnerbone@dinnerbone.com>2012-01-15 07:38:14 +0000
committerNathan Adams <dinnerbone@dinnerbone.com>2012-01-15 07:38:14 +0000
commit65cf915a15d69a6900abf563827ccb2ce77ea3a0 (patch)
tree257f7398abb1adefb1fc499f799e427e4eba3101 /src
parent87ee353d4d609ba93165271bf32bb99541adae4e (diff)
downloadbukkit-65cf915a15d69a6900abf563827ccb2ce77ea3a0.tar
bukkit-65cf915a15d69a6900abf563827ccb2ce77ea3a0.tar.gz
bukkit-65cf915a15d69a6900abf563827ccb2ce77ea3a0.tar.lz
bukkit-65cf915a15d69a6900abf563827ccb2ce77ea3a0.tar.xz
bukkit-65cf915a15d69a6900abf563827ccb2ce77ea3a0.zip
Fixed documentation of getNearbyEntities in Entity. Thanks to epuidokas for the PR.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/entity/Entity.java8
1 files changed, 4 insertions, 4 deletions
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<Entity> List of entities nearby
*/
public List<org.bukkit.entity.Entity> getNearbyEntities(double x, double y, double z);