Swapped yaw/pitch in Location constructor to match Minecraft

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot 2010-12-29 01:15:16 +00:00
parent 331ba1b6a2
commit 7c433de12d

View file

@ -16,7 +16,7 @@ public class Location {
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.x = x;
this.y = y;