mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Swapped yaw/pitch in Location constructor to match Minecraft
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
331ba1b6a2
commit
7c433de12d
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ public class Location {
|
||||||
this(world, x, y, z, 0, 0);
|
this(world, x, y, z, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Location(final World world, final double x, final double y, final double z, final float pitch, final float yaw) {
|
public Location(final World world, final double x, final double y, final double z, final float yaw, final float pitch) {
|
||||||
this.world = world;
|
this.world = world;
|
||||||
this.x = x;
|
this.x = x;
|
||||||
this.y = y;
|
this.y = y;
|
||||||
|
|
Loading…
Reference in a new issue