From 04bfe73c29af583ed0942771f1277f82ce58973e Mon Sep 17 00:00:00 2001 From: Gabscap Date: Fri, 20 Oct 2017 14:23:35 +0200 Subject: [PATCH] Fix Location.equals --- .../java/com/intellectualcrafters/plot/object/Location.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/object/Location.java b/Core/src/main/java/com/intellectualcrafters/plot/object/Location.java index 1d68e6baf..7d26bf298 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/object/Location.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/object/Location.java @@ -207,7 +207,7 @@ public class Location implements Cloneable, Comparable { 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(); }