[SPIGOT-2990] EntityTeleportEvent Doesn't Fire for Dogs or Cats Created: 05/Jan/17 Updated: 05/Jan/17 Resolved: 05/Jan/17 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Dave Goldsmith | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | 1.11.2 |
Plugin: | No plugins, other than a tiny one to test the EntityTeleportEvent |
Description |
The EntityTeleportEvent doesn't seem to fire for dogs or cats. It responds to enderman teleports, but if I tame a wolf or an ocelot, and then go elsewhere, when they teleport to me, nothing happens with the EntityTeleportEvent. The JavaDocs state that the EntityTeleportEvent class is "thrown when a non-player entity (such as an Enderman) tries to teleport from one location to another". To me, this would imply that the event should fire for dogs and cats. |