summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-11-03 20:38:10 +1100
committermd_5 <git@md-5.net>2018-11-03 20:38:10 +1100
commitbc4de176caa95b7a09bc7be43b9fe0f41c29169b (patch)
tree5e99152ff924b5c05fdba9f0fa4ef68a0080e265
parent9d0221aa2959e79a315d7f87edd9d82e3ee7ce43 (diff)
downloadbukkit-bc4de176caa95b7a09bc7be43b9fe0f41c29169b.tar
bukkit-bc4de176caa95b7a09bc7be43b9fe0f41c29169b.tar.gz
bukkit-bc4de176caa95b7a09bc7be43b9fe0f41c29169b.tar.lz
bukkit-bc4de176caa95b7a09bc7be43b9fe0f41c29169b.tar.xz
bukkit-bc4de176caa95b7a09bc7be43b9fe0f41c29169b.zip
SPIGOT-4460: Update documentation of Wolf#setAngry
-rw-r--r--src/main/java/org/bukkit/entity/Wolf.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/entity/Wolf.java b/src/main/java/org/bukkit/entity/Wolf.java
index c0905c05..63e72928 100644
--- a/src/main/java/org/bukkit/entity/Wolf.java
+++ b/src/main/java/org/bukkit/entity/Wolf.java
@@ -17,10 +17,12 @@ public interface Wolf extends Animals, Tameable, Sittable {
/**
* Sets the anger of this wolf.
* <p>
- * An angry wolf can not be fed or tamed, and will actively look for
- * targets to attack.
+ * An angry wolf can not be fed or tamed, and must have a target to attack.
+ * If a target is not set the wolf will quickly revert to its non-angry
+ * state.
*
* @param angry true if angry
+ * @see #setTarget(org.bukkit.entity.LivingEntity)
*/
public void setAngry(boolean angry);