Swapped yaw/pitch in Location constructor to match Minecraft

This commit is contained in:
Dinnerbone 2010-12-29 01:15:16 +00:00
parent 3f78497752
commit b9801a50da

View File

@ -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;