SPIGOT-4460: Update documentation of Wolf#setAngry

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2018-11-03 20:38:10 +11:00
parent 60183211fe
commit d73efd2f89

View File

@ -17,10 +17,12 @@ public interface Wolf extends Animals, Tameable, Sittable {
/** /**
* Sets the anger of this wolf. * Sets the anger of this wolf.
* <p> * <p>
* An angry wolf can not be fed or tamed, and will actively look for * An angry wolf can not be fed or tamed, and must have a target to attack.
* targets to attack. * If a target is not set the wolf will quickly revert to its non-angry
* state.
* *
* @param angry true if angry * @param angry true if angry
* @see #setTarget(org.bukkit.entity.LivingEntity)
*/ */
public void setAngry(boolean angry); public void setAngry(boolean angry);