[SPIGOT-4212] No event is called when a villager opens a door Created: 01/Aug/18 Updated: 02/Aug/18 Resolved: 02/Aug/18 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Brokkonaut | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 1.12, 1.13 | ||
| Version: | git-Spigot-69774b3-8e87d03 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT) |
| Guidelines Read: | Yes |
| Description |
|
I think the EntityInteractEvent or EntityChangeBlockEvent should be called in this case |
| Comments |
| Comment by Brokkonaut [ 02/Aug/18 ] |
|
Thank you |
| Comment by Nathan Wolf [ 02/Aug/18 ] |
|
I PR'd a fix for this here: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/461/overview |
| Comment by Brokkonaut [ 01/Aug/18 ] |
|
The call should be in PathfinderGoalDoorInteract.a(boolean), its not there.
For testing a village would be required with some villagers and a plugin that logs/cancels the event? If I know what event should be called, I can upload a plugin for that. |
| Comment by md_5 [ 01/Aug/18 ] |
|
Is there an easy way to test this? |