[SPIGOT-3075] Shulker teleport does not create an EntityTeleportEvent Created: 19/Feb/17 Updated: 19/Feb/17 Resolved: 19/Feb/17 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Chris Fehling | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | shulker, teleport | ||
| Description |
|
When a shulker is damaged, and in some other places, it calls a method of the name: `protected boolean o()` This then calculates a new BlockPosition and places the Entity there. Because of this, it bypasses the Entity Teleport events, as it is a special case. Can you add a teleport event call and cancel check in this method?
``` protected boolean o() ``` |