mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 08:36:45 +01:00
Fix Location.equals
This commit is contained in:
parent
d4614007ae
commit
04bfe73c29
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user