mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Merge pull request #1746 from Gabscap/fix-location_equals
Fix Location.equals
This commit is contained in:
commit
7b04ec9ff3
@ -207,7 +207,7 @@ public class Location implements Cloneable, Comparable<Location> {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
Location l = (Location) o;
|
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();
|
&& this.pitch == l.getPitch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user