Fix Location.equals

This commit is contained in:
Gabscap 2017-10-20 14:23:35 +02:00
parent d4614007ae
commit 04bfe73c29

View File

@ -207,7 +207,7 @@ public class Location implements Cloneable, Comparable<Location> {
return false;
}
Location l = (Location) o;
return this.x == l.getX() && this.y == l.getY() && this.z == l.getZ() && this.world.equals(l.getWorld()) && this.yaw == l.getY()
return this.x == l.getX() && this.y == l.getY() && this.z == l.getZ() && this.world.equals(l.getWorld()) && this.yaw == l.getYaw()
&& this.pitch == l.getPitch();
}