[SPIGOT-4893] Wolves without target lose their angry state Created: 08/May/19 Updated: 11/May/19 Resolved: 11/May/19 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | blablubbabc | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Version: | This server is running CraftBukkit version git-Spigot-1eece4f-d203283 (MC: 1.14) (Implementing API version 1.14-R0.1-SNAPSHOT) |
Guidelines Read: | Yes |
Description |
EntityWolf will reset the angry state during its movementTick if it has no target (http://prntscr.com/nlrut6). This shouldn't be required though, since the angry state gets already reset when the target gets cleared via setGoalTarget. Removing this would allow plugins to set wolves angry (for visual appearance) without having to also set their target. |
Comments |
Comment by blablubbabc [ 08/May/19 ] |
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/556/ This allows wolves to persist their angry state as long as their are no calls to setGoalTarget, no chunk reloading and no teleportation between dimensions. |
Comment by blablubbabc [ 08/May/19 ] |
Just tested: Yes, it does. |
Comment by md_5 [ 08/May/19 ] |
Presumably affects 1.13.2 also? |