mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 15:00:13 +01:00
Moved the PLAYER_MOVE and PLAYER_TELEPORT hooks to be packet-based, fixed player.getLocation() to return pitch/yaw
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
6ca8defced
commit
f8d2b930f9
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ public class CraftPlayer implements Player {
|
|||
}
|
||||
|
||||
public Location getLocation() {
|
||||
return new Location(getWorld(), player.p, player.q, player.r);
|
||||
return new Location(getWorld(), player.p, player.q, player.r, player.v, player.w);
|
||||
}
|
||||
|
||||
public World getWorld() {
|
||||
|
|
Loading…
Reference in a new issue