SPIGOT-4460: Update documentation of Wolf#setAngry

This commit is contained in:
md_5 2018-11-03 20:38:10 +11:00
parent 9d0221aa29
commit bc4de176ca

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);