SPIGOT-4893: Don't reset angry state of wolves without target.

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2019-05-11 13:12:28 +10:00
parent 4952796313
commit 12798cd084

View file

@ -18,9 +18,7 @@ public interface Wolf extends Animals, Tameable, Sittable {
/**
* Sets the anger of this wolf.
* <p>
* 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.
* An angry wolf can not be fed or tamed.
*
* @param angry true if angry
* @see #setTarget(org.bukkit.entity.LivingEntity)