diff options
author | md_5 <git@md-5.net> | 2018-11-03 20:38:10 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-11-03 20:38:10 +1100 |
commit | bc4de176caa95b7a09bc7be43b9fe0f41c29169b (patch) | |
tree | 5e99152ff924b5c05fdba9f0fa4ef68a0080e265 /src/main | |
parent | 9d0221aa2959e79a315d7f87edd9d82e3ee7ce43 (diff) | |
download | bukkit-bc4de176caa95b7a09bc7be43b9fe0f41c29169b.tar bukkit-bc4de176caa95b7a09bc7be43b9fe0f41c29169b.tar.gz bukkit-bc4de176caa95b7a09bc7be43b9fe0f41c29169b.tar.lz bukkit-bc4de176caa95b7a09bc7be43b9fe0f41c29169b.tar.xz bukkit-bc4de176caa95b7a09bc7be43b9fe0f41c29169b.zip |
SPIGOT-4460: Update documentation of Wolf#setAngry
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/entity/Wolf.java | 6 |
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); |