[SPIGOT-694] VehicleCreateEvent, event.getVehicle().getLocation() missing Created: 13/Mar/15 Updated: 13/Apr/15 Resolved: 13/Apr/15 |
|
| Status: | Closed |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Doe | Assignee: | Thinkofname |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | VehicleCreateEvent | ||
| Environment: |
Linux, craftbukkit-1.8.3 |
||
| Plugin: | n/a |
| Description |
|
In VehicleCreateEvent for all vehicle types, the event.getVehicle().getLocation() always reports as 0 0 0. The vehicle still spawns in the correct location in game, but this gives the incorrect xyz to plugins for processing. In the craftbukkit-1.8 it worked correctly, only in 1.8.3 has it started reporting as 0 0 0. |
| Comments |
| Comment by Faithcaio Baum [ 07/Apr/15 ] |
|
Location is still 0 0 0 in version git-Bukkit-96c2c39 The position is set after calling the event. |
| Comment by John Doe [ 13/Mar/15 ] |
|
All vehicles, all methods. |
| Comment by md_5 [ 13/Mar/15 ] |
|
Can you be more specific about your choice of vehicle and spawn method |