summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-08-15 08:52:07 +1000
committermd_5 <git@md-5.net>2018-08-15 08:52:07 +1000
commitdde07e23c89024c7a63299a447842600f2e06cf1 (patch)
tree896b6ab40656256a8bf05ae32af021ac789e76a4
parent290eb7296a2c24e0385c913850197311208f63f0 (diff)
downloadbukkit-dde07e23c89024c7a63299a447842600f2e06cf1.tar
bukkit-dde07e23c89024c7a63299a447842600f2e06cf1.tar.gz
bukkit-dde07e23c89024c7a63299a447842600f2e06cf1.tar.lz
bukkit-dde07e23c89024c7a63299a447842600f2e06cf1.tar.xz
bukkit-dde07e23c89024c7a63299a447842600f2e06cf1.zip
Update docs for Enderman carrying methods
-rw-r--r--src/main/java/org/bukkit/entity/Enderman.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/entity/Enderman.java b/src/main/java/org/bukkit/entity/Enderman.java
index ab827f83..edb49a20 100644
--- a/src/main/java/org/bukkit/entity/Enderman.java
+++ b/src/main/java/org/bukkit/entity/Enderman.java
@@ -25,14 +25,14 @@ public interface Enderman extends Monster {
/**
* Gets the data of the block that the Enderman is carrying.
*
- * @return BlockData containing the carried block
+ * @return BlockData containing the carried block, or null if none
*/
public BlockData getCarriedBlock();
/**
* Sets the data of the block that the Enderman is carrying.
*
- * @param blockData data to set the carried block to
+ * @param blockData data to set the carried block to, or null to remove
*/
public void setCarriedBlock(BlockData blockData);
}